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

bschuchardt pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 068fdd4  GEODE-6421 CI failure: 
org.apache.geode.distributed.LocatorDUnitTest.testStartTwoLocators failed with 
AssertionError
068fdd4 is described below

commit 068fdd4338bd8d5796cb719a03e100ce4be46076
Author: Bruce Schuchardt <[email protected]>
AuthorDate: Tue Mar 5 15:12:11 2019 -0800

    GEODE-6421 CI failure: 
org.apache.geode.distributed.LocatorDUnitTest.testStartTwoLocators failed with 
AssertionError
    
    Added a locator-wait-time setting to prevent concurrent startup
    problems.
---
 .../java/org/apache/geode/distributed/LocatorDUnitTest.java             | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/geode-core/src/distributedTest/java/org/apache/geode/distributed/LocatorDUnitTest.java
 
b/geode-core/src/distributedTest/java/org/apache/geode/distributed/LocatorDUnitTest.java
index 5b92518..4268596 100644
--- 
a/geode-core/src/distributedTest/java/org/apache/geode/distributed/LocatorDUnitTest.java
+++ 
b/geode-core/src/distributedTest/java/org/apache/geode/distributed/LocatorDUnitTest.java
@@ -19,6 +19,7 @@ import static 
org.apache.geode.distributed.ConfigurationProperties.DISABLE_AUTO_
 import static 
org.apache.geode.distributed.ConfigurationProperties.ENABLE_CLUSTER_CONFIGURATION;
 import static 
org.apache.geode.distributed.ConfigurationProperties.ENABLE_NETWORK_PARTITION_DETECTION;
 import static org.apache.geode.distributed.ConfigurationProperties.LOCATORS;
+import static 
org.apache.geode.distributed.ConfigurationProperties.LOCATOR_WAIT_TIME;
 import static org.apache.geode.distributed.ConfigurationProperties.LOG_LEVEL;
 import static org.apache.geode.distributed.ConfigurationProperties.MCAST_PORT;
 import static 
org.apache.geode.distributed.ConfigurationProperties.MEMBER_TIMEOUT;
@@ -1903,6 +1904,7 @@ public class LocatorDUnitTest implements 
java.io.Serializable {
     properties.put(MEMBER_TIMEOUT, "2000");
     properties.put(LOG_LEVEL, logger.getLevel().name());
     properties.put(ENABLE_CLUSTER_CONFIGURATION, "false");
+    properties.put(LOCATOR_WAIT_TIME, "10"); // seconds
     return properties;
   }
 

Reply via email to