geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [35/35] incubator-geode git commit: Change AvailablePort.JGROUPS to AvailablePort.MULTICAST
Date Tue, 22 Dec 2015 19:26:37 GMT
Change AvailablePort.JGROUPS to AvailablePort.MULTICAST


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

Branch: refs/heads/feature/GEODE-217
Commit: ca1550700e5e00a4a2804beaa75268212c1285ee
Parents: 76bca9e
Author: Kirk Lund <klund@pivotal.io>
Authored: Tue Dec 22 11:24:31 2015 -0800
Committer: Kirk Lund <klund@pivotal.io>
Committed: Tue Dec 22 11:24:31 2015 -0800

----------------------------------------------------------------------
 .../test/java/com/gemstone/gemfire/test/dunit/DUnitTestRule.java   | 2 +-
 .../java/com/gemstone/gemfire/test/dunit/DistributedTestCase.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/ca155070/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DUnitTestRule.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DUnitTestRule.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DUnitTestRule.java
index a66fad5..6fd135f 100755
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DUnitTestRule.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DUnitTestRule.java
@@ -450,7 +450,7 @@ public class DUnitTestRule implements SerializableTestRule {
    */
   public static InternalDistributedSystem getMcastSystem() {
     Properties props = getDistributedSystemProperties();
-    int port = AvailablePort.getRandomAvailablePort(AvailablePort.JGROUPS);
+    int port = AvailablePort.getRandomAvailablePort(AvailablePort.MULTICAST);
     props.put(DistributionConfig.MCAST_PORT_NAME, ""+port);
     props.put(DistributionConfig.MCAST_TTL_NAME, "0");
     props.put(DistributionConfig.LOCATORS_NAME, "");

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/ca155070/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DistributedTestCase.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DistributedTestCase.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DistributedTestCase.java
index 2a63ee3..12725a7 100755
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DistributedTestCase.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DistributedTestCase.java
@@ -402,7 +402,7 @@ public abstract class DistributedTestCase implements java.io.Serializable
{
    */
   public final InternalDistributedSystem getMcastSystem() {
     Properties props = this.getDistributedSystemProperties();
-    int port = AvailablePort.getRandomAvailablePort(AvailablePort.JGROUPS);
+    int port = AvailablePort.getRandomAvailablePort(AvailablePort.MULTICAST);
     props.put(DistributionConfig.MCAST_PORT_NAME, ""+port);
     props.put(DistributionConfig.MCAST_TTL_NAME, "0");
     props.put(DistributionConfig.LOCATORS_NAME, "");


Mime
View raw message