diff options
-rw-r--r-- | vespalib/src/tests/btree/btree_test.cpp | 4 | ||||
-rw-r--r-- | vespalib/src/tests/btree/btreeaggregation_test.cpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/vespalib/src/tests/btree/btree_test.cpp b/vespalib/src/tests/btree/btree_test.cpp index b71aca92cd6..ec2b37f9546 100644 --- a/vespalib/src/tests/btree/btree_test.cpp +++ b/vespalib/src/tests/btree/btree_test.cpp @@ -517,6 +517,8 @@ Test::requireThatNodeSplitInsertWorks() } } +namespace { + struct BTreeStealTraits { static constexpr size_t LEAF_SLOTS = 6; @@ -525,6 +527,8 @@ struct BTreeStealTraits static constexpr bool BINARY_SEEK = true; }; +} + void Test::requireThatNodeStealWorks() { diff --git a/vespalib/src/tests/btree/btreeaggregation_test.cpp b/vespalib/src/tests/btree/btreeaggregation_test.cpp index 9ce57dbaf1d..a50c160351a 100644 --- a/vespalib/src/tests/btree/btreeaggregation_test.cpp +++ b/vespalib/src/tests/btree/btreeaggregation_test.cpp @@ -596,6 +596,8 @@ Test::requireThatTreeInsertWorks() } } +namespace { + struct BTreeStealTraits { static constexpr size_t LEAF_SLOTS = 6; @@ -604,6 +606,8 @@ struct BTreeStealTraits static constexpr bool BINARY_SEEK = true; }; +} + void Test::requireThatNodeStealWorks() { |