geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [10/50] [abbrv] incubator-geode git commit: GEODE-960 CI failure: LocatorDUnitTest.testOneLocator failed with AssertionError
Date Tue, 12 Apr 2016 17:43:00 GMT
GEODE-960 CI failure: LocatorDUnitTest.testOneLocator failed with AssertionError

Reduce the member-timeout so that the test uses less time, and has
relatively more time to change coordinator when locator is down.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/36cb06e4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/36cb06e4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/36cb06e4

Branch: refs/heads/feature/GEODE-1162
Commit: 36cb06e4812f356d4494b355142d1934acead2fa
Parents: 740578e
Author: Jianxia Chen <jchen@pivotal.io>
Authored: Wed Apr 6 13:12:48 2016 -0700
Committer: Jianxia Chen <jchen@pivotal.io>
Committed: Wed Apr 6 13:12:48 2016 -0700

----------------------------------------------------------------------
 .../java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/36cb06e4/geode-core/src/test/java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java
b/geode-core/src/test/java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java
index b3cc86c..8dfe7a5 100644
--- a/geode-core/src/test/java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java
+++ b/geode-core/src/test/java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java
@@ -1113,6 +1113,7 @@ public class LocatorDUnitTest extends DistributedTestCase {
         try {
           Properties locProps = new Properties();
           locProps.setProperty("mcast-port", "0");
+          locProps.setProperty("member-timeout", "1000");
           locProps.put(DistributionConfig.ENABLE_CLUSTER_CONFIGURATION_NAME, "false");
 
             Locator.startLocatorAndDS(port, logFile, locProps);
@@ -1130,6 +1131,7 @@ public class LocatorDUnitTest extends DistributedTestCase {
               Properties props = new Properties();
               props.setProperty("mcast-port", "0");
               props.setProperty("locators", locators);
+              props.setProperty("member-timeout", "1000");
               DistributedSystem.connect(props);
             }
           };
@@ -1139,6 +1141,7 @@ public class LocatorDUnitTest extends DistributedTestCase {
       Properties props = new Properties();
       props.setProperty("mcast-port", "0");
       props.setProperty("locators", locators);
+      props.setProperty("member-timeout", "1000");
 
     system = (InternalDistributedSystem)DistributedSystem.connect(props);
     


Mime
View raw message