You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by up...@apache.org on 2016/04/22 02:38:49 UTC

[09/50] [abbrv] incubator-geode git commit: GEODE-960 CI failure: LocatorDUnitTest.testOneLocator failed with AssertionError

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/master
Commit: 36cb06e4812f356d4494b355142d1934acead2fa
Parents: 740578e
Author: Jianxia Chen <jc...@pivotal.io>
Authored: Wed Apr 6 13:12:48 2016 -0700
Committer: Jianxia Chen <jc...@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);