geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject incubator-geode git commit: GEODE-535: change test to start server on port 0
Date Fri, 06 Nov 2015 21:57:38 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/develop 06509f34f -> cfbeaf241


GEODE-535: change test to start server on port 0


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

Branch: refs/heads/develop
Commit: cfbeaf241d6c77ad47ba062bb4268c88b798ce90
Parents: 06509f3
Author: Darrel Schneider <dschneider@pivotal.io>
Authored: Fri Nov 6 13:56:13 2015 -0800
Committer: Darrel Schneider <dschneider@pivotal.io>
Committed: Fri Nov 6 13:56:13 2015 -0800

----------------------------------------------------------------------
 .../gemfire/distributed/internal/ProductUseLogDUnitTest.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/cfbeaf24/gemfire-core/src/test/java/com/gemstone/gemfire/distributed/internal/ProductUseLogDUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/distributed/internal/ProductUseLogDUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/distributed/internal/ProductUseLogDUnitTest.java
index b16ed2d..8abd7d6 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/distributed/internal/ProductUseLogDUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/distributed/internal/ProductUseLogDUnitTest.java
@@ -71,7 +71,8 @@ public class ProductUseLogDUnitTest extends DistributedTestCase {
       public void run() {
         InternalDistributedSystem system = getSystem();
         Cache cache = CacheFactory.create(system);
-        CacheServer server = cache.addCacheServer();
+        CacheServer server = cache.addCacheServer();
+        server.setPort(0);
         try {
           server.start();
         } catch (IOException e) {


Mime
View raw message