mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
closes #5665 make recover-flt1 work on a bigger tree so we get inbox flushing
git-svn-id: file:///svn/toku/tokudb@50981 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
2f8f9ff560
commit
2c4f804b84
2 changed files with 9 additions and 2 deletions
|
@ -592,7 +592,6 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
|
|||
else ()
|
||||
message(WARNING "TODO(leif): re-enable keyrange tests, see #5666")
|
||||
declare_custom_tests(keyrange-merge.tdb)
|
||||
list(REMOVE_ITEM abortrecover_tests recover-flt1.abortrecover)
|
||||
endif ()
|
||||
add_test(ydb/keyrange-loader-get0.tdb keyrange.tdb --get 0 --loader 1 --envdir dir.keyrange-loader-get0.tdb)
|
||||
add_test(ydb/keyrange-loader-get1.tdb keyrange.tdb --get 1 --loader 1 --envdir dir.keyrange-loader-get1.tdb)
|
||||
|
|
|
@ -76,7 +76,15 @@ run_recover_flt_test(int argc, char *const argv[]) {
|
|||
struct cli_args args = get_default_args();
|
||||
// make test time arbitrarily high because we expect a crash
|
||||
args.num_seconds = 1000000000;
|
||||
args.num_elements = 2000;
|
||||
if (state_to_crash == 1) {
|
||||
// Getting flt_state 1 (inbox flush) requires a larger tree with more messages floating in it
|
||||
args.num_elements = 100000;
|
||||
args.disperse_keys = true;
|
||||
args.key_size = 8;
|
||||
args.val_size = 192;
|
||||
} else {
|
||||
args.num_elements = 2000;
|
||||
}
|
||||
// we want to induce a checkpoint
|
||||
args.env_args.checkpointing_period = 0;
|
||||
parse_stress_test_args(argc, argv, &args);
|
||||
|
|
Loading…
Add table
Reference in a new issue