mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
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
This commit is contained in:
parent
2c4f804b84
commit
e64cd1ca4b
2 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue