summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2022-09-16 13:15:55 +0200
committerGitHub <noreply@github.com>2022-09-16 13:15:55 +0200
commitc5a350c07cfae7e83c0fa32b3f1f7f96d2b2b53c (patch)
tree1431ff64506b0580dd4bdae9b479d40987524d2d /storage
parent6913409d5fe94c86bfe238daebf9fd1b16072e49 (diff)
Apply suggestions from code review
Let naming better reflect underlying semantics Co-authored-by: Geir Storli <geirst@yahooinc.com>
Diffstat (limited to 'storage')
-rw-r--r--storage/src/tests/distributor/statecheckerstest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/src/tests/distributor/statecheckerstest.cpp b/storage/src/tests/distributor/statecheckerstest.cpp
index f94b0ae1bcd..6fe327b60c0 100644
--- a/storage/src/tests/distributor/statecheckerstest.cpp
+++ b/storage/src/tests/distributor/statecheckerstest.cpp
@@ -287,7 +287,7 @@ struct StateCheckersTest : Test, DistributorStripeTestUtil {
void do_test_bucket_activation();
- void set_node_supports_no_implicit_index_on_activation(uint16_t node, bool supported) {
+ void set_node_supports_no_implicit_indexing_on_activation(uint16_t node, bool supported) {
NodeSupportedFeatures nsf;
nsf.no_implicit_indexing_of_active_buckets = supported;
set_node_supported_features(node, nsf);
@@ -1097,12 +1097,12 @@ void StateCheckersTest::do_test_bucket_activation() {
testBucketState("2=8/9/10/u/i/r,1=2/3/4/u/a/r,3=5/6/7/u/i/r"));
}
-TEST_F(StateCheckersTest, bucket_activation_behaves_as_expected_with_implicit_index_on_active) {
+TEST_F(StateCheckersTest, bucket_activation_behaves_as_expected_with_implicit_indexing_on_active) {
set_node_supports_no_implicit_index_on_activation(2, false);
do_test_bucket_activation();
}
-TEST_F(StateCheckersTest, bucket_activation_behaves_as_expected_without_implicit_index_on_active) {
+TEST_F(StateCheckersTest, bucket_activation_behaves_as_expected_without_implicit_indexing_on_active) {
set_node_supports_no_implicit_index_on_activation(2, true);
do_test_bucket_activation();
}