You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bs...@apache.org on 2015/11/17 21:54:29 UTC

[19/50] [abbrv] incubator-geode git commit: GEODE-535: change test to start server on port 0

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/feature/GEODE-77
Commit: cfbeaf241d6c77ad47ba062bb4268c88b798ce90
Parents: 06509f3
Author: Darrel Schneider <ds...@pivotal.io>
Authored: Fri Nov 6 13:56:13 2015 -0800
Committer: Darrel Schneider <ds...@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) {