Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions luatest/cbuilder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ local base_config = {
-- by half for my test.
timeout = 0.1,
},
-- Disable system checks by default in tests to avoid
-- environment-dependent alerts (THP, readahead, etc.).
conditional = {
{
['if'] = 'tarantool_version >= 3.8.0',
config = {
checks = 'off',
},
},
},
}

function Builder:inherit(object)
Expand Down
8 changes: 8 additions & 0 deletions test/cbuilder_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ local DEFAULT_CONFIG = {
listen = {{uri = 'unix/:./{{ instance_name }}.iproto'}},
},
replication = {timeout = 0.1},
conditional = {
{
['if'] = 'tarantool_version >= 3.8.0',
config = {
checks = 'off',
},
},
},
}

local function merge_config(base, diff)
Expand Down
Loading