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

baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/main by this push:
     new 9a507ea4ce [MINOR] Increase monitor test wait
9a507ea4ce is described below

commit 9a507ea4ce79f3445727ea5720fa98cf176a3d9b
Author: baunsgaard <[email protected]>
AuthorDate: Fri Nov 11 13:10:00 2022 +0100

    [MINOR] Increase monitor test wait
---
 src/test/java/org/apache/sysds/test/AutomatedTestBase.java | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/test/java/org/apache/sysds/test/AutomatedTestBase.java 
b/src/test/java/org/apache/sysds/test/AutomatedTestBase.java
index 2ede093020..02b09b3045 100644
--- a/src/test/java/org/apache/sysds/test/AutomatedTestBase.java
+++ b/src/test/java/org/apache/sysds/test/AutomatedTestBase.java
@@ -121,8 +121,10 @@ public abstract class AutomatedTestBase {
        public static boolean TEST_GPU = false;
        public static final double GPU_TOLERANCE = 1e-9;
 
-       public static final int FED_WORKER_WAIT = 1000; // in ms
-       public static final int FED_WORKER_WAIT_S = 50; // in ms
+       // ms wait time 
+       public static final int FED_WORKER_WAIT = 1000; 
+       public static final int FED_MONITOR_WAIT = 5000; 
+       public static final int FED_WORKER_WAIT_S = 50;
        
 
        // With OpenJDK 8u242 on Windows, the new changes in JDK are not 
allowing
@@ -1630,7 +1632,7 @@ public abstract class AutomatedTestBase {
                try {
                        process = processBuilder.start();
                        // Wait till process is started
-                       sleep(5000);
+                       sleep(FED_MONITOR_WAIT);
                }
                catch(IOException | InterruptedException e) {
                        throw new RuntimeException(e);

Reply via email to