[
https://issues.apache.org/jira/browse/GEODE-4963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Barbara Pruijn resolved GEODE-4963.
-----------------------------------
Resolution: Fixed
> ConnectCommandDUnitTest is broken since GfshCommand was made 'public'
> ---------------------------------------------------------------------
>
> Key: GEODE-4963
> URL: https://issues.apache.org/jira/browse/GEODE-4963
> Project: Geode
> Issue Type: Bug
> Components: gfsh
> Reporter: Jens Deppe
> Priority: Major
> Labels: ci, pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The failure looks like this:
> {noformat}
> org.apache.geode.management.internal.cli.commands.ConnectCommandDUnitTest >
> useCurrentGfshToConnectToOlderLocator FAILED
> java.lang.AssertionError:
> Expecting:
> <" _________________________ __
> / _____/ ______/ ______/ /____/ /
> / / __/ /___ /_____ / _____ /
> / /__/ / ____/ _____/ / / / /
> /______/_/ /______/_/ /_/ 1.6.0-SNAPSHOT
>
> Monitor and Manage Apache Geode
> Connecting to Manager at [host=localhost, port=28823] ..
> Could not connect to : [host=localhost, port=28823]. Failed to retrieve
> RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: localhost; nested
> exception is:
> java.net.ConnectException: Connection refused (Connection refused)]
> ">
> to contain:
> <"Cannot use a">
> at
> org.apache.geode.test.junit.assertions.CommandResultAssert.containsOutput(CommandResultAssert.java:79)
> at
> org.apache.geode.management.internal.cli.commands.ConnectCommandDUnitTest.useCurrentGfshToConnectToOlderLocator(ConnectCommandDUnitTest.java:46)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)