geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject [34/50] [abbrv] incubator-geode git commit: GEODE-535: change test to start server on port 0
Date Tue, 10 Nov 2015 23:42:56 GMT
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-12
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