From 290a5990d4ca9d696c490eb717c35d094a23c4cb Mon Sep 17 00:00:00 2001 From: Ekaterina Dimitrova Date: Mon, 8 Jan 2024 18:10:21 -0500 Subject: [PATCH] Fix flaky test org.apache.cassandra.tools.BulkLoaderTest.testBulkLoader_WithArgs1 patch by Ekaterina Dimitrova; reviewed by Berenguer Blasi for CASSANDRA-19205 --- test/unit/org/apache/cassandra/tools/BulkLoaderTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/unit/org/apache/cassandra/tools/BulkLoaderTest.java b/test/unit/org/apache/cassandra/tools/BulkLoaderTest.java index 37c1e3fe0b..22f7ba0f50 100644 --- a/test/unit/org/apache/cassandra/tools/BulkLoaderTest.java +++ b/test/unit/org/apache/cassandra/tools/BulkLoaderTest.java @@ -82,7 +82,9 @@ public class BulkLoaderTest extends OfflineToolUtils if (!(tool.getException().getCause().getCause().getCause() instanceof NoHostAvailableException)) throw tool.getException(); - assertNoUnexpectedThreadsStarted(null, new String[] { "globalEventExecutor-1-1", "globalEventExecutor-1-2" }); + assertNoUnexpectedThreadsStarted(null, new String[] { "globalEventExecutor-1-1", "globalEventExecutor-1-2", + // the driver isn't expected to terminate threads on close synchronously (CASSANDRA-19000) + "cluster[0-9]-nio-worker-[0-9]" }); assertSchemaNotLoaded(); assertCLSMNotLoaded(); assertSystemKSNotLoaded();