diff --git a/coordinator/src/test/java/org/apache/uniffle/coordinator/SimpleClusterManagerTest.java b/coordinator/src/test/java/org/apache/uniffle/coordinator/SimpleClusterManagerTest.java index 1391308f8b..4464d74970 100644 --- a/coordinator/src/test/java/org/apache/uniffle/coordinator/SimpleClusterManagerTest.java +++ b/coordinator/src/test/java/org/apache/uniffle/coordinator/SimpleClusterManagerTest.java @@ -512,6 +512,8 @@ public void excludeNodesNoDelayTest() throws Exception { assertEquals(4, scm.getNodesNum()); assertEquals(2, scm.getExcludeNodes().size()); } + File blacklistFile = new File(excludeNodesPath); + assertTrue(blacklistFile.delete()); } private void writeExcludeHosts(String path, Set values) throws Exception {