From: Kamil Braun <
kbr...@scylladb.com>
Committer: Kamil Braun <
kbr...@scylladb.com>
Branch: next
test: raft: randomized_nemesis_test: handle timed_out_error from modify_config
May be propagated from `rpc::send_modify_config` to the caller of
`modify_config`.
---
diff --git a/test/raft/randomized_nemesis_test.cc b/test/raft/randomized_nemesis_test.cc
--- a/test/raft/randomized_nemesis_test.cc
+++ b/test/raft/randomized_nemesis_test.cc
@@ -1148,6 +1148,8 @@ future<reconfigure_result_t> modify_config(
co_return e;
} catch (raft::request_aborted&) {
co_return timed_out_error{};
+ } catch (seastar::timed_out_error e) {
+ co_return e;
} catch (...) {
tlogger.error("unexpected exception from modify_config: {}", std::current_exception());
assert(false);