Commit 2c4f804b authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

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
parent 2f8f9ff5
......@@ -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;
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment