Commit aa8633cc authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5666 fix keyrange-merge.tdb, needed more elements to work right


git-svn-id: file:///svn/toku/tokudb@50982 c7de825b-a66e-492c-adef-691d508d4ae1
parent b231e7cc
......@@ -591,7 +591,6 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
add_test(ydb/keyrange-random-get1.tdb keyrange.tdb --get 1 --random_keys 1 --envdir dir.keyrange-random-get1.tdb)
else ()
message(WARNING "TODO(leif): re-enable keyrange tests, see #5666")
declare_custom_tests(keyrange-merge.tdb)
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)
......
......@@ -34,7 +34,7 @@ run_test(void) {
// create a tree with 2 children
uint32_t key_size = 9;
uint32_t val_size = db_basement_size / 4;
uint32_t val_size = db_basement_size / 32;
size_t est_row_size_with_overhead = 8 + key_size + 4 + val_size + 4; // xid + key + key_len + val + val)len
size_t rows_per_basement = db_basement_size / est_row_size_with_overhead;
......
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