geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bschucha...@apache.org
Subject [2/2] incubator-geode git commit: changing this test to use a locator instead of multicast discovery
Date Fri, 04 Sep 2015 16:48:45 GMT
changing this test to use a locator instead of multicast discovery


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

Branch: refs/heads/feature/GEODE-77
Commit: cfbf5a404ff83c5ae124b3cb2e207c23e12c907c
Parents: 54b83d8
Author: Bruce Schuchardt <bschuchardt@pivotal.io>
Authored: Fri Sep 4 09:47:58 2015 -0700
Committer: Bruce Schuchardt <bschuchardt@pivotal.io>
Committed: Fri Sep 4 09:47:58 2015 -0700

----------------------------------------------------------------------
 .../test/java/com/gemstone/gemfire/redis/RedisDistDUnitTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/cfbf5a40/gemfire-core/src/test/java/com/gemstone/gemfire/redis/RedisDistDUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/redis/RedisDistDUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/redis/RedisDistDUnitTest.java
index 2d0c0db..d3aa334 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/redis/RedisDistDUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/redis/RedisDistDUnitTest.java
@@ -61,11 +61,11 @@ public class RedisDistDUnitTest extends CacheTestCase {
       public Object call() throws Exception {
         int port = ports[VM.getCurrentVMNum()+1];
         CacheFactory cF = new CacheFactory();
-        String locator = SocketCreator.getLocalHost() + "[" + ports[2] + "]";
+        String locator = SocketCreator.getLocalHost().getHostName() + "[" + ports[2] + "]";
         cF.set("log-level", "info");
         cF.set("redis-bind-address", "localhost");
         cF.set("redis-port", ""+port);
-        cF.set("mcast-port", "");
+        cF.set("mcast-port", "0");
         cF.set("locators", locator);
         if (VM.getCurrentVMNum() == 0) {
           cF.set("start-locator", locator);


Mime
View raw message