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 <alejo.sanchez@scylladb.com>
This commit is contained in:
Alejo Sanchez
2021-06-01 11:53:49 -04:00
parent 0216d0a7b0
commit 2aa1646e35

View File

@@ -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<new_leader>(update)) {
unsigned next_leader = std::get<new_leader>(update).id;
auto leader_log_idx = rafts[leader].server->log_last_idx();