aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/tests/distributor/putoperationtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/tests/distributor/putoperationtest.cpp')
-rw-r--r--storage/src/tests/distributor/putoperationtest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/src/tests/distributor/putoperationtest.cpp b/storage/src/tests/distributor/putoperationtest.cpp
index c60c5932709..bc0118b6d5e 100644
--- a/storage/src/tests/distributor/putoperationtest.cpp
+++ b/storage/src/tests/distributor/putoperationtest.cpp
@@ -703,12 +703,12 @@ TEST_F(PutOperationTest, matching_condition_probe_sends_unconditional_puts_to_al
auto put_n0 = sent_put_command(3);
EXPECT_FALSE(put_n0->hasTestAndSetCondition());
- EXPECT_EQ("", _sender.getReplies(true)); // No reply yet; content node Puts must be replied to first.
-
// Ensure replies are no longer routed to condition checker
ASSERT_TRUE(_sender.replies().empty());
sendReply(2); // put to node 1
+ ASSERT_TRUE(_sender.replies().empty());
sendReply(3); // put to node 0
+ ASSERT_EQ(_sender.replies().size(), 1);
EXPECT_EQ("PutReply(id:test:testdoctype1::test, "
"BucketId(0x0000000000000000), "
"timestamp 100) ReturnCode(NONE)",