From 2aa1646e35b336f58e2a4fdc463172cbe905f7b5 Mon Sep 17 00:00:00 2001 From: Alejo Sanchez Date: Tue, 1 Jun 2021 11:53:49 -0400 Subject: [PATCH] raft: replication test: remove wait after adding entries Remove log wait after adding entries. It was added to handle some debug hangs but it is not good for testing. There are already wait logs at proper code locations. (e.g. elect_new_leader, partition) Signed-off-by: Alejo Sanchez --- test/raft/replication_test.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/test/raft/replication_test.cc b/test/raft/replication_test.cc index ac79eb22cc..4d2e81a794 100644 --- a/test/raft/replication_test.cc +++ b/test/raft/replication_test.cc @@ -766,7 +766,6 @@ future<> run_test(test_case test, bool prevote, bool packet_drops) { format("Current leader {} is not in configuration", leader)); co_await add_entries(rafts, next_val, next_val + n, leader); next_val += n; - co_await wait_log(rafts, connected, in_configuration, leader); } else if (std::holds_alternative(update)) { unsigned next_leader = std::get(update).id; auto leader_log_idx = rafts[leader].server->log_last_idx();