geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jinmeil...@apache.org
Subject [07/50] [abbrv] incubator-geode git commit: GEODE-978: Increasing the port range used in CacheXmlGateway tests
Date Thu, 21 Apr 2016 17:16:42 GMT
GEODE-978: Increasing the port range used in CacheXmlGateway tests

The tests were previously hardcoding a very narrow range of ports.


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

Branch: refs/heads/feature/GEODE-17-2
Commit: fb96284008b25591e37c03b0e0848d995b88a208
Parents: 58caa32
Author: Dan Smith <upthewaterspout@apache.org>
Authored: Mon Apr 18 17:36:33 2016 -0700
Committer: Dan Smith <upthewaterspout@apache.org>
Committed: Tue Apr 19 11:06:44 2016 -0700

----------------------------------------------------------------------
 .../com/gemstone/gemfire/cache/CacheXml70GatewayDUnitTest.java   | 4 ++--
 .../com/gemstone/gemfire/cache/CacheXml80GatewayDUnitTest.java   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/fb962840/geode-wan/src/test/java/com/gemstone/gemfire/cache/CacheXml70GatewayDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-wan/src/test/java/com/gemstone/gemfire/cache/CacheXml70GatewayDUnitTest.java
b/geode-wan/src/test/java/com/gemstone/gemfire/cache/CacheXml70GatewayDUnitTest.java
index e9a47e2..a69bb37 100644
--- a/geode-wan/src/test/java/com/gemstone/gemfire/cache/CacheXml70GatewayDUnitTest.java
+++ b/geode-wan/src/test/java/com/gemstone/gemfire/cache/CacheXml70GatewayDUnitTest.java
@@ -94,8 +94,8 @@ public class CacheXml70GatewayDUnitTest extends CacheXmlTestCase {
     
     GatewayReceiverFactory gatewayReceiverFactory = cache.createGatewayReceiverFactory();
     gatewayReceiverFactory.setBindAddress("");
-    gatewayReceiverFactory.setStartPort(54321);
-    gatewayReceiverFactory.setEndPort(54331);
+    gatewayReceiverFactory.setStartPort(20000);
+    gatewayReceiverFactory.setEndPort(29999);
     gatewayReceiverFactory.setMaximumTimeBetweenPings(2000);
     gatewayReceiverFactory.setSocketBufferSize(1500);
     GatewayTransportFilter myStreamfilter1 = new MyGatewayTransportFilter1();

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/fb962840/geode-wan/src/test/java/com/gemstone/gemfire/cache/CacheXml80GatewayDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-wan/src/test/java/com/gemstone/gemfire/cache/CacheXml80GatewayDUnitTest.java
b/geode-wan/src/test/java/com/gemstone/gemfire/cache/CacheXml80GatewayDUnitTest.java
index d04e916..0619474 100644
--- a/geode-wan/src/test/java/com/gemstone/gemfire/cache/CacheXml80GatewayDUnitTest.java
+++ b/geode-wan/src/test/java/com/gemstone/gemfire/cache/CacheXml80GatewayDUnitTest.java
@@ -43,8 +43,8 @@ public class CacheXml80GatewayDUnitTest extends CacheXmlTestCase {
     
     GatewayReceiverFactory gatewayReceiverFactory = cache.createGatewayReceiverFactory();
     gatewayReceiverFactory.setBindAddress("");
-    gatewayReceiverFactory.setStartPort(54321);
-    gatewayReceiverFactory.setEndPort(54331);
+    gatewayReceiverFactory.setStartPort(20000);
+    gatewayReceiverFactory.setEndPort(29999);
     gatewayReceiverFactory.setMaximumTimeBetweenPings(2000);
     gatewayReceiverFactory.setSocketBufferSize(1500);
     gatewayReceiverFactory.setManualStart(true);


Mime
View raw message