This is an automated email from the ASF dual-hosted git repository. ifesdjeen pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git
commit 179711eab6907fe3e67f485599df23a82f6dc207 Author: Alex Petrov <oleksandr.pet...@gmail.com> AuthorDate: Thu Nov 30 14:06:08 2023 +0100 Improve the situation with timeouts of all fuzz tests. Since we would wait for request timeout, even if one progress barrier message gets lost, we would fail the test, since we would wait for 10 minutes of timeout. But since _commit_ is paused, we could just attempt to retry, and only one of the attempts will succeed. Patch by Alex Petrov; reviewed by Marcus Eriksson for CASSANDRA-19123 --- .../org/apache/cassandra/distributed/test/log/FuzzTestBase.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/distributed/org/apache/cassandra/distributed/test/log/FuzzTestBase.java b/test/distributed/org/apache/cassandra/distributed/test/log/FuzzTestBase.java index 02f6b3eb91..f1fb862ed0 100644 --- a/test/distributed/org/apache/cassandra/distributed/test/log/FuzzTestBase.java +++ b/test/distributed/org/apache/cassandra/distributed/test/log/FuzzTestBase.java @@ -58,9 +58,11 @@ public class FuzzTestBase extends TestBaseImpl public Cluster.Builder builder() { return super.builder() .withConfig(cfg -> cfg.with(GOSSIP, NETWORK) + .set("cms_default_max_retries", Integer.MAX_VALUE) + .set("cms_default_retry_backoff", "1000ms") // Since we'll be pausing the commit request, it may happen that it won't get // unpaused before event expiration. - .set("request_timeout", String.format("%dms", TimeUnit.MINUTES.toMillis(10)))); + .set("cms_await_timeout", String.format("%dms", TimeUnit.MINUTES.toMillis(10)))); } public static IIsolatedExecutor.SerializableRunnable toRunnable(ExecUtil.ThrowingSerializableRunnable runnable) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org