Skip to content
Snippets Groups Projects
Commit 5b446db2 authored by Alexander Turenko's avatar Alexander Turenko Committed by Alexander Turenko
Browse files

test: exclude msgpack module from override cases

The msgpack module can't lack `msgpack.NULL`, because it leads to the
'Please call box.cfg{} first' error at access to `box.NULL`.

An upcoming patch regarding schemas for tarantool's new hierarchical
configuration uses `box.NULL` during tarantool's initialization.

The override feature is tested on a set of modules, which are easy to
replace with an arbitrary table without losing an ability to pass
tarantool's initialization. The msgpack module will not meet the
criteria after the mentioned patch.

The test doesn't attempt to hold a precise list of modules available for
overriding. It rather checks the overall mechanics. So it is OK to
adjust the list.

NO_DOC=testing code change
NO_CHANGELOG=see NO_DOC
parent 418e749c
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,10 @@ end
-- msgpackffi, strict, tarantool, yaml -- used during
-- tarantool's initialization in a way that doesn't allow to
-- replace them with an arbitrary table
-- - msgpack -- box.NULL is used in config/instance_config.lua
-- at initialization of the module. If msgpack.NULL is nil, then
-- access to box.NULL leads to the 'Please call box.cfg{} first'
-- error.
local override_cases = {
'clock',
'console',
......@@ -113,7 +117,6 @@ local override_cases = {
'key_def',
'luadebug',
'memprof',
'msgpack',
'net.box',
'pickle',
'popen',
......
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