mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-09 16:33:35 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user