You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2016/03/21 21:39:54 UTC

[23/54] [abbrv] incubator-geode git commit: GEODE-640 CI failure: CacheXml80DUnitTest.testCacheServerDisableTcpNoDelay

GEODE-640 CI failure: CacheXml80DUnitTest.testCacheServerDisableTcpNoDelay

Use TCP port 0, so that an available port will be automatically assigned.


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

Branch: refs/heads/feature/GEODE-17-2
Commit: f7ca6346dc21aa2359ee5f5a2e2c97705e611e72
Parents: 44c388e
Author: Jianxia Chen <jc...@pivotal.io>
Authored: Tue Mar 15 16:09:11 2016 -0700
Committer: Jianxia Chen <jc...@pivotal.io>
Committed: Tue Mar 15 16:09:11 2016 -0700

----------------------------------------------------------------------
 .../test/java/com/gemstone/gemfire/cache30/CacheXml80DUnitTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f7ca6346/geode-core/src/test/java/com/gemstone/gemfire/cache30/CacheXml80DUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/com/gemstone/gemfire/cache30/CacheXml80DUnitTest.java b/geode-core/src/test/java/com/gemstone/gemfire/cache30/CacheXml80DUnitTest.java
index 155fb78..346c58a 100644
--- a/geode-core/src/test/java/com/gemstone/gemfire/cache30/CacheXml80DUnitTest.java
+++ b/geode-core/src/test/java/com/gemstone/gemfire/cache30/CacheXml80DUnitTest.java
@@ -183,6 +183,7 @@ public class CacheXml80DUnitTest extends CacheXml70DUnitTest {
     CacheCreation cache = new CacheCreation();
 
     CacheServer cs = cache.addCacheServer();
+    cs.setPort(0);
     cs.setTcpNoDelay(false);
     RegionAttributesCreation attrs = new RegionAttributesCreation(cache);
     attrs.setDataPolicy(DataPolicy.NORMAL);