[QUEUED scylla next] test: raft: randomized_nemesis_test: handle timed_out_error from modify_config

0 views
Skip to first unread message

Commit Bot

<bot@cloudius-systems.com>
unread,
May 23, 2022, 7:30:16 PM5/23/22
to scylladb-dev@googlegroups.com, Kamil Braun
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);

Commit Bot

<bot@cloudius-systems.com>
unread,
May 24, 2022, 10:47:59 AM5/24/22
to scylladb-dev@googlegroups.com, Kamil Braun
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
@@ -1275,6 +1275,8 @@ future<reconfigure_result_t> modify_config(

Commit Bot

<bot@cloudius-systems.com>
unread,
May 25, 2022, 12:07:51 AM5/25/22
to scylladb-dev@googlegroups.com, Kamil Braun
From: Kamil Braun <kbr...@scylladb.com>
Committer: Kamil Braun <kbr...@scylladb.com>
Branch: master
Reply all
Reply to author
Forward
0 new messages