Skip to content
Snippets Groups Projects
Commit b5298eec authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Update tests after sophia push.

parent 1a7d27db
No related branches found
No related tags found
No related merge requests found
...@@ -25,12 +25,10 @@ box.cfg ...@@ -25,12 +25,10 @@ box.cfg
background: false background: false
readahead: 16320 readahead: 16320
sophia: sophia:
node_page_size: 131072 page_size: 131072
memory_limit: 0
node_compact_wm: 1
threads: 5 threads: 5
node_size: 134217728 node_size: 134217728
node_branch_wm: 10485760 memory_limit: 0
listen: <uri> listen: <uri>
logger_nonblock: true logger_nonblock: true
snap_dir: . snap_dir: .
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
--# push filter 'admin: .*' to 'admin: <uri>' --# push filter 'admin: .*' to 'admin: <uri>'
box.cfg.nosuchoption = 1 box.cfg.nosuchoption = 1
--- ---
- error: '[string "-- load_cfg.lua - internal file..."]:213: Attempt to modify a read-only - error: '[string "-- load_cfg.lua - internal file..."]:211: Attempt to modify a read-only
table' table'
... ...
t = {} for k,v in pairs(box.cfg) do if type(v) ~= 'table' and type(v) ~= 'function' then table.insert(t, k..': '..tostring(v)) end end t = {} for k,v in pairs(box.cfg) do if type(v) ~= 'table' and type(v) ~= 'function' then table.insert(t, k..': '..tostring(v)) end end
...@@ -66,23 +66,23 @@ t ...@@ -66,23 +66,23 @@ t
-- check that cfg with unexpected parameter fails. -- check that cfg with unexpected parameter fails.
box.cfg{sherlock = 'holmes'} box.cfg{sherlock = 'holmes'}
--- ---
- error: '[string "-- load_cfg.lua - internal file..."]:133: Error: cfg parameter - error: '[string "-- load_cfg.lua - internal file..."]:131: Error: cfg parameter
''sherlock'' is unexpected' ''sherlock'' is unexpected'
... ...
-- check that cfg with unexpected type of parameter failes -- check that cfg with unexpected type of parameter failes
box.cfg{listen = {}} box.cfg{listen = {}}
--- ---
- error: '[string "-- load_cfg.lua - internal file..."]:148: Error: cfg parameter - error: '[string "-- load_cfg.lua - internal file..."]:146: Error: cfg parameter
''listen'' should be one of types: string, number' ''listen'' should be one of types: string, number'
... ...
box.cfg{wal_dir = 0} box.cfg{wal_dir = 0}
--- ---
- error: '[string "-- load_cfg.lua - internal file..."]:142: Error: cfg parameter - error: '[string "-- load_cfg.lua - internal file..."]:140: Error: cfg parameter
''wal_dir'' should be of type string' ''wal_dir'' should be of type string'
... ...
box.cfg{coredump = 'true'} box.cfg{coredump = 'true'}
--- ---
- error: '[string "-- load_cfg.lua - internal file..."]:142: Error: cfg parameter - error: '[string "-- load_cfg.lua - internal file..."]:140: Error: cfg parameter
''coredump'' should be of type boolean' ''coredump'' should be of type boolean'
... ...
--# clear filter --# clear filter
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment