Skip to content
Snippets Groups Projects
Select Git revision
  • 351dbb1ded66be91a863ab34c752b2a19f6bd807
  • 2.11.5-picodata default protected
  • ipotemin/trigger-binding
  • picodata-25.4
  • astrochuk/fiber-stack-addr
  • mlaletin/ci-tarantool-module protected
  • astrochuk/remove-rows
  • artshmelev/try-remove-condition-replicaset_connect_quorum
  • kusancho/fiber_stack_report
  • e.dmitriev/osx-arm-build-fix
  • nnk/warning-limit-and-iproto-executor
  • kdy/ci_build_with_tag protected
  • nnk/iproto-emergency-executor
  • nnk/add-vdbe-soft-limit
  • origin/picodata-25.3
  • artshmelev/debug-tls
  • v.klimenko/box_index_iterator_with_offset
  • picodata-25.3
  • funbringer/2.11.5-fix-select-param-having
  • max/new-cache2
  • nnk/expose-actual-vdbe-opcode-count
  • 2.11.5.283 protected
  • 2.11.5.266 protected
  • 2.11.5.265 protected
  • 2.11.5.254 protected
  • 2.11.5.253 protected
  • 2.11.5.233 protected
  • 2.11.5.230 protected
  • 2.11.5.228 protected
  • 2.11.5.226 protected
  • 2.11.5.225 protected
  • 2.11.5.223 protected
  • 2.11.5.221 protected
  • 2.11.5.220 protected
  • 2.11.5.219 protected
  • 2.11.5.218 protected
  • 2.11.5.217 protected
  • 2.11.5 protected
  • 2.11.2.159 protected
  • 2.11.4 protected
  • 2.11.2.155 protected
41 results

fix-passing-password-instead-of-user-name-in-box-passwd_test.lua

Blame
  • begin_options_validation_test.lua 830 B
    local server = require("luatest.server")
    local t = require("luatest")
    
    local g = t.group("begin-options-validation")
    
    g.before_all(function()
        g.server = server:new{
            alias = "default",
        }
        g.server:start()
    end)
    
    g.after_all(function()
        g.server:drop()
    end)
    
    g.test_begin_options_validation = function()
        g.server:exec(function()
            t.assert_error_msg_content_equals(
                "Illegal parameters, unexpected option 'foo'",
                box.begin, {foo = "bar"})
            t.assert_error_msg_content_equals(
                "Illegal parameters, timeout must be a number greater than 0",
                box.begin, {timeout = "not-a-number"})
            t.assert_error_msg_content_equals(
                "Illegal parameters, timeout must be a number greater than 0",
                box.begin, {timeout = 0})
        end)
    end