Darrel Schneider created GEODE-7907: ---------------------------------------
Summary: GfshCommandIntegrationTest fails because port 1099 is already in use Key: GEODE-7907 URL: https://issues.apache.org/jira/browse/GEODE-7907 Project: Geode Issue Type: Bug Components: management Reporter: Darrel Schneider Saw this failure on Windows: {noformat} org.apache.geode.management.internal.cli.commands.GfshCommandIntegrationTest > invalidCommandWhenConnected FAILED org.junit.ComparisonFailure: expected:<[tru]e> but was:<[fals]e> at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at org.apache.geode.test.junit.rules.GfshCommandRule.connectAndVerify(GfshCommandRule.java:163) at org.apache.geode.management.internal.cli.commands.GfshCommandIntegrationTest.invalidCommandWhenConnected(GfshCommandIntegrationTest.java:71) {noformat} The underlying cause was: {noformat} Connecting to Locator at [host=localhost, port=25690] .. Exception caused JMX Manager startup to fail because: 'java.rmi.server.ExportException: Port already in use: 1099; nested exception is: java.net.BindException: Failed to create server socket on 10.0.0.143[1099]' {noformat} This test starts a locator and does not configure the jmx manager port. So it will default to 1099. It should set it to a random port. -- This message was sent by Atlassian Jira (v8.3.4#803005)