diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2024-02-02 15:32:51 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2024-02-02 16:54:15 +0000 |
commit | 290bb392a1f7ec695ca9aa25a9f11935f0921150 (patch) | |
tree | ba0bad31ecd6edd8f357eea3564f279fbbb87976 /storage/src/tests/distributor/distributor_stripe_test.cpp | |
parent | cf71761504956076c26e478906754380f8944939 (diff) |
Condition probing has long been default
Diffstat (limited to 'storage/src/tests/distributor/distributor_stripe_test.cpp')
-rw-r--r-- | storage/src/tests/distributor/distributor_stripe_test.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/storage/src/tests/distributor/distributor_stripe_test.cpp b/storage/src/tests/distributor/distributor_stripe_test.cpp index 2fb65c9d46d..b3efe8e4bad 100644 --- a/storage/src/tests/distributor/distributor_stripe_test.cpp +++ b/storage/src/tests/distributor/distributor_stripe_test.cpp @@ -174,12 +174,6 @@ struct DistributorStripeTest : Test, DistributorStripeTestUtil { }); } - void configure_enable_condition_probing(bool enable_probing) { - configure_stripe_with([&](auto& builder) { - builder.enableConditionProbing = enable_probing; - }); - } - void configure_enable_operation_cancellation(bool enable_cancellation) { configure_stripe_with([&](auto& builder) { builder.enableOperationCancellation = enable_cancellation; @@ -943,19 +937,6 @@ TEST_F(DistributorStripeTest, closing_aborts_gets_started_outside_stripe_thread) EXPECT_EQ(api::ReturnCode::ABORTED, _sender.reply(0)->getResult().getResult()); } -TEST_F(DistributorStripeTest, enable_condition_probing_config_is_propagated_to_internal_config) -{ - setup_stripe(Redundancy(1), NodeCount(1), "distributor:1 storage:1"); - - EXPECT_TRUE(getConfig().enable_condition_probing()); - - configure_enable_condition_probing(false); - EXPECT_FALSE(getConfig().enable_condition_probing()); - - configure_enable_condition_probing(true); - EXPECT_TRUE(getConfig().enable_condition_probing()); -} - TEST_F(DistributorStripeTest, enable_operation_cancellation_config_is_propagated_to_internal_config) { setup_stripe(Redundancy(1), NodeCount(1), "distributor:1 storage:1"); @@ -1023,7 +1004,6 @@ TEST_F(DistributorStripeTest, distribution_config_change_edge_cancels_pending_op void DistributorStripeTest::set_up_for_bucket_ownership_cancellation(uint32_t superbucket_idx) { setup_stripe(Redundancy(1), NodeCount(10), "version:1 distributor:2 storage:2"); configure_stripe_with([](auto& builder) { - builder.enableConditionProbing = true; builder.enableOperationCancellation = true; }); |