You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/04/25 16:29:00 UTC

[jira] [Commented] (GEODE-4963) ConnectCommandDUnitTest is broken since GfshCommand was made 'public'

    [ https://issues.apache.org/jira/browse/GEODE-4963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16452587#comment-16452587 ] 

ASF subversion and git services commented on GEODE-4963:
--------------------------------------------------------

Commit 26328f706ddfe2a6f0cc83f5ffc574d251c540a0 in geode's branch refs/heads/develop from [~jinmeiliao]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=26328f7 ]

GEODE-4963: rework ConnectCommandDUnitTest to be an acceptance test (#1851)




> 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)