You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by sa...@apache.org on 2016/06/23 17:25:29 UTC

[05/15] incubator-geode git commit: GEODE-1560 test now explicitly set mcast-port to 0.

GEODE-1560 test now explicitly set mcast-port to 0.

Test was picking mcast port from gemfire.properties file.


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

Branch: refs/heads/feature/GEODE-1573
Commit: 2df86745a72105f7dae8f8b85fedf105ad207148
Parents: 858bc35
Author: Hitesh Khamesra <hk...@pivotal.io>
Authored: Mon Jun 20 14:53:06 2016 -0700
Committer: Hitesh Khamesra <hk...@pivotal.io>
Committed: Mon Jun 20 14:59:25 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/2df86745/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 2ca13b7..197a665 100755
--- a/geode-core/src/test/java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java
+++ b/geode-core/src/test/java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java
@@ -1464,6 +1464,7 @@ public class LocatorDUnitTest extends JUnit4DistributedTestCase {
     dsProps.setProperty(LOG_LEVEL, LogWriterUtils.getDUnitLogLevel());
     dsProps.setProperty(ENABLE_NETWORK_PARTITION_DETECTION, "true");
     dsProps.setProperty(ENABLE_CLUSTER_CONFIGURATION, "false");
+    dsProps.setProperty(MCAST_PORT, "0");
 
     startLocatorSync(vm0, new Object[] { port1, dsProps });
     startLocatorSync(vm1, new Object[] { port2, dsProps });