Merge "Speed up devel tests 10 times" from Pavel E
" The multishard_mutation_query test is toooo slow when built with clang in dev mode. By reducing the number of scans it's possible to shrink the full suite run time from half an hour down to ~3 minutes. tests: unit(dev) " * 'br-devel-mode-tests' of https://github.com/xemul/scylla: test: Make multishard_mutation_query test do less scans configure: Add -DDEVEL to dev build flags
This commit is contained in:
@@ -262,7 +262,7 @@ modes = {
|
||||
'stack-usage-threshold': 1024*13,
|
||||
},
|
||||
'dev': {
|
||||
'cxxflags': '-O1 -DSEASTAR_ENABLE_ALLOC_FAILURE_INJECTION -DSCYLLA_ENABLE_ERROR_INJECTION',
|
||||
'cxxflags': '-O1 -DDEVEL -DSEASTAR_ENABLE_ALLOC_FAILURE_INJECTION -DSCYLLA_ENABLE_ERROR_INJECTION',
|
||||
'cxx_ld_flags': '',
|
||||
'stack-usage-threshold': 1024*21,
|
||||
},
|
||||
|
||||
@@ -963,8 +963,10 @@ SEASTAR_THREAD_TEST_CASE(fuzzy_test) {
|
||||
|
||||
auto pop_desc = create_fuzzy_test_table(env, rnd_engine);
|
||||
|
||||
#ifdef DEBUG
|
||||
#if defined DEBUG
|
||||
auto cfg = fuzzy_test_config{seed, std::chrono::seconds{8}, 1, 1};
|
||||
#elif defined DEVEL
|
||||
auto cfg = fuzzy_test_config{seed, std::chrono::seconds{2}, 8, 4};
|
||||
#else
|
||||
auto cfg = fuzzy_test_config{seed, std::chrono::seconds{2}, 16, 256};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user