This is an automated email from the ASF dual-hosted git repository. marcuse pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push: new f74c07d2d3 Lower the number of tables and repairs to avoid timeouts in ClearSnapshotTest f74c07d2d3 is described below commit f74c07d2d314d9127b210ec5dce9152110e060b3 Author: Marcus Eriksson <marc...@apache.org> AuthorDate: Fri Dec 1 14:21:09 2023 +0100 Lower the number of tables and repairs to avoid timeouts in ClearSnapshotTest Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19070 --- .../org/apache/cassandra/distributed/test/ClearSnapshotTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/distributed/org/apache/cassandra/distributed/test/ClearSnapshotTest.java b/test/distributed/org/apache/cassandra/distributed/test/ClearSnapshotTest.java index 384e79d468..1725f29f92 100644 --- a/test/distributed/org/apache/cassandra/distributed/test/ClearSnapshotTest.java +++ b/test/distributed/org/apache/cassandra/distributed/test/ClearSnapshotTest.java @@ -60,7 +60,7 @@ public class ClearSnapshotTest extends TestBaseImpl .withInstanceInitializer(BB::install) .start())) { - int tableCount = 50; + int tableCount = 20; for (int i = 0; i < tableCount; i++) { String ksname = "ks"+i; @@ -103,7 +103,7 @@ public class ClearSnapshotTest extends TestBaseImpl activeRepairs = cluster.get(1).callOnInstance(() -> ActiveRepairService.instance().parentRepairSessionCount()); Thread.sleep(50); } - while (activeRepairs < 35); + while (activeRepairs < 10); cluster.setUncaughtExceptionsFilter((t) -> t.getMessage() != null && t.getMessage().contains("Parent repair session with id") ); cluster.get(2).shutdown().get(); @@ -157,7 +157,6 @@ public class ClearSnapshotTest extends TestBaseImpl try(Cluster cluster = init(Cluster.build(3).withConfig(config -> config.with(GOSSIP) .with(NETWORK)) - .withInstanceInitializer(BB::install) .start())) { cluster.schemaChange(withKeyspace("create table %s.tbl (id int primary key, x int)")); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org