geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sai_boorlaga...@apache.org
Subject [02/50] [abbrv] incubator-geode git commit: GEODE-1126 CI failure: ReconnectedCacheServerDUnitTest.testDefaultCacheServerNotCreatedOnReconnect
Date Mon, 28 Mar 2016 17:45:09 GMT
GEODE-1126 CI failure: ReconnectedCacheServerDUnitTest.testDefaultCacheServerNotCreatedOnReconnect

Modified set-up to set the cache server port to zero so that it will
do a wildcard bind.


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

Branch: refs/heads/feature/GEODE-52
Commit: 03143055181d34c5ae9d997daee6470fe7bc3018
Parents: 67053ca
Author: Bruce Schuchardt <bschuchardt@pivotal.io>
Authored: Thu Mar 24 09:40:44 2016 -0700
Committer: Bruce Schuchardt <bschuchardt@pivotal.io>
Committed: Thu Mar 24 09:40:44 2016 -0700

----------------------------------------------------------------------
 .../gemstone/gemfire/management/internal/ManagementStrings.java  | 2 +-
 .../gemfire/cache30/ReconnectedCacheServerDUnitTest.java         | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/03143055/geode-core/src/main/java/com/gemstone/gemfire/management/internal/ManagementStrings.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/management/internal/ManagementStrings.java
b/geode-core/src/main/java/com/gemstone/gemfire/management/internal/ManagementStrings.java
index 5c859c5..e239b7e 100644
--- a/geode-core/src/main/java/com/gemstone/gemfire/management/internal/ManagementStrings.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/management/internal/ManagementStrings.java
@@ -140,7 +140,7 @@ public class ManagementStrings {
   
   public static final StringId MANAGEMENT_TASK_THREAD_GROUP = new StringId(100053, "Management
Task Thread Group");
   
-  public static final StringId MANAGEMENT_TASK_CANCELLED = new StringId(100054, "Management
Task Cacelled");
+  public static final StringId MANAGEMENT_TASK_CANCELLED = new StringId(100054, "Management
Task Cancelled");
   
   public static final StringId TARGET_DIR_CANT_BE_NULL_OR_EMPTY = new StringId(100055, "Target
directory path can not be null or empty");
   

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/03143055/geode-core/src/test/java/com/gemstone/gemfire/cache30/ReconnectedCacheServerDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/com/gemstone/gemfire/cache30/ReconnectedCacheServerDUnitTest.java
b/geode-core/src/test/java/com/gemstone/gemfire/cache30/ReconnectedCacheServerDUnitTest.java
index 8da7dfb..46ff2b7 100755
--- a/geode-core/src/test/java/com/gemstone/gemfire/cache30/ReconnectedCacheServerDUnitTest.java
+++ b/geode-core/src/test/java/com/gemstone/gemfire/cache30/ReconnectedCacheServerDUnitTest.java
@@ -17,6 +17,7 @@
 package com.gemstone.gemfire.cache30;
 
 import com.gemstone.gemfire.cache.Cache;
+import com.gemstone.gemfire.cache.server.CacheServer;
 import com.gemstone.gemfire.distributed.internal.InternalDistributedSystem;
 import com.gemstone.gemfire.distributed.internal.membership.gms.MembershipManagerHelper;
 import com.gemstone.gemfire.distributed.internal.membership.gms.mgr.GMSMembershipManager;
@@ -40,7 +41,8 @@ public class ReconnectedCacheServerDUnitTest extends CacheTestCase {
   public final void postSetUp() {
     this.cache = getCache();
     if (this.cache.getCacheServers().isEmpty()) {
-      this.cache.addCacheServer();
+      CacheServer server = this.cache.addCacheServer();
+      server.setPort(0);
       addedCacheServer = true;
     }
   }


Mime
View raw message