aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/tests/distributor/check_condition_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/tests/distributor/check_condition_test.cpp')
-rw-r--r--storage/src/tests/distributor/check_condition_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/tests/distributor/check_condition_test.cpp b/storage/src/tests/distributor/check_condition_test.cpp
index 92c3b120da2..617401dd271 100644
--- a/storage/src/tests/distributor/check_condition_test.cpp
+++ b/storage/src/tests/distributor/check_condition_test.cpp
@@ -231,7 +231,7 @@ TEST_F(CheckConditionTest, failed_gets_completes_check_with_error_outcome) {
TEST_F(CheckConditionTest, check_fails_if_condition_explicitly_cancelled) {
test_cond_with_2_gets_sent([&](auto& cond) {
cond.handle_reply(_sender, make_matched_reply(0));
- cond.cancel(_sender, CancelScope::of_ownership_change());
+ cond.cancel(_sender, CancelScope::of_fully_cancelled());
cond.handle_reply(_sender, make_matched_reply(1));
}, [&](auto& outcome) {
EXPECT_FALSE(outcome.matched_condition());