[ https://issues.apache.org/jira/browse/GEODE-7907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17066303#comment-17066303 ]
ASF subversion and git services commented on GEODE-7907: -------------------------------------------------------- Commit 521a45339f92fdb0ac1e36f573ef19717d0f481d in geode's branch refs/heads/develop from Darrel Schneider [ https://gitbox.apache.org/repos/asf?p=geode.git;h=521a453 ] GEODE-7907: change test to use non-default jmx-manager-port (#4844) * test now configures a non-default jmx-manager-port * InternalLocatorTest now uses random port and cleans up by stopping the locator * removed try/catch from after method > 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 > Assignee: Darrel Schneider > Priority: Minor > Time Spent: 0.5h > Remaining Estimate: 0h > > 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)