Skip to content

Commit

Permalink
GEODE-960 CI failure: LocatorDUnitTest.testOneLocator failed with Ass…
Browse files Browse the repository at this point in the history
…ertionError

Reduce the member-timeout so that the test uses less time, and has
relatively more time to change coordinator when locator is down.
  • Loading branch information
jchen21 committed Apr 6, 2016
1 parent 740578e commit 36cb06e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,7 @@ public void run() {
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);
Expand All @@ -1130,6 +1131,7 @@ public void run() {
Properties props = new Properties();
props.setProperty("mcast-port", "0");
props.setProperty("locators", locators);
props.setProperty("member-timeout", "1000");
DistributedSystem.connect(props);
}
};
Expand All @@ -1139,6 +1141,7 @@ public void run() {
Properties props = new Properties();
props.setProperty("mcast-port", "0");
props.setProperty("locators", locators);
props.setProperty("member-timeout", "1000");

system = (InternalDistributedSystem)DistributedSystem.connect(props);

Expand Down

0 comments on commit 36cb06e

Please sign in to comment.