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 2018/03/17 14:55:29 UTC
[geode] branch develop updated: GEODE-4883: ServerLauncherDUnitTest
fails with BindException
This is an automated email from the ASF dual-hosted git repository.
jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new 07a7b05 GEODE-4883: ServerLauncherDUnitTest fails with BindException
07a7b05 is described below
commit 07a7b054760f10beb73ccf41a4479b41a840b782
Author: Jens Deppe <jd...@pivotal.io>
AuthorDate: Sat Mar 17 07:54:02 2018 -0700
GEODE-4883: ServerLauncherDUnitTest fails with BindException
---
.../java/org/apache/geode/distributed/ServerLauncherDUnitTestHelper.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherDUnitTestHelper.java b/geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherDUnitTestHelper.java
index ff4700e..620bed4 100644
--- a/geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherDUnitTestHelper.java
+++ b/geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherDUnitTestHelper.java
@@ -21,6 +21,7 @@ public class ServerLauncherDUnitTestHelper {
int locatorPort = Integer.parseInt(args[0]);
System.setProperty("gemfire.disableShutdownHook", "true");
+ System.setProperty("gemfire.server-port", "0");
final ServerLauncher serverLauncher =
new ServerLauncher.Builder().setCommand(ServerLauncher.Command.START)
--
To stop receiving notification emails like this one, please contact
jensdeppe@apache.org.