You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uniffle.apache.org by ro...@apache.org on 2022/09/09 02:19:46 UTC

[incubator-uniffle] branch master updated: Fix flaky test of heartbeatTimeoutTest (#206)

This is an automated email from the ASF dual-hosted git repository.

roryqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b83f661 Fix flaky test of heartbeatTimeoutTest (#206)
9b83f661 is described below

commit 9b83f66174911c88384bad325cb399cba25ab7d7
Author: Junfan Zhang <ju...@outlook.com>
AuthorDate: Fri Sep 9 10:19:41 2022 +0800

    Fix flaky test of heartbeatTimeoutTest (#206)
    
    ### What changes were proposed in this pull request?
    This flaky test of heartbeatTimeoutTest
    
    ### Why are the changes needed?
    This flaky test is found on https://github.com/apache/incubator-uniffle/runs/8244850538?check_suite_focus=true.
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    No
---
 .../java/org/apache/uniffle/coordinator/SimpleClusterManagerTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 8f2e7f4c..63835267 100644
--- a/coordinator/src/test/java/org/apache/uniffle/coordinator/SimpleClusterManagerTest.java
+++ b/coordinator/src/test/java/org/apache/uniffle/coordinator/SimpleClusterManagerTest.java
@@ -162,7 +162,7 @@ public class SimpleClusterManagerTest {
     });
     t.start();
 
-    Thread.sleep(10);
+    Thread.sleep(100);
     List<ServerNode> serverNodes = clusterManager.getServerList(testTags);
     assertEquals(2, serverNodes.size());
     Set<String> expectedIds = Sets.newHashSet("sn0", "sn1");