You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2018/04/20 19:57:15 UTC

[jira] [Closed] (GEODE-3735) CI failure: FunctionCommandsDUnitTest should be refactored to use new new test rules

     [ https://issues.apache.org/jira/browse/GEODE-3735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Baker closed GEODE-3735.
--------------------------------

> CI failure: FunctionCommandsDUnitTest should be refactored to use new new test rules
> ------------------------------------------------------------------------------------
>
>                 Key: GEODE-3735
>                 URL: https://issues.apache.org/jira/browse/GEODE-3735
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>    Affects Versions: 1.3.0
>            Reporter: Shelley Lynn Hughes-Godfrey
>            Priority: Major
>
> FunctionCommandsDUnitTest is using CliCommandTestBase, which is a deprecated class. It should be refactored to use more current test rules.
> This causes the test to fail periodically:
> {noformat}
> org.apache.geode.management.internal.cli.commands.FunctionCommandsDUnitTest > testExecuteFunctionOnMembersWithArgsAndCustomResultCollector FAILED
>     java.lang.AssertionError: Execution of connect --jmx-manager=d7f7e5c3-e656-43bc-67eb-97cb1606b8fc[20827] failed to connect to manager d7f7e5c3-e656-43bc-67eb-97cb1606b8fc[20827] result=Could not connect to : [host=d7f7e5c3-e656-43bc-67eb-97cb1606b8fc, port=20827]. Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table]
>         at org.apache.geode.management.internal.cli.commands.CliCommandTestBase.connect(CliCommandTestBase.java:270)
>         at org.apache.geode.management.internal.cli.commands.CliCommandTestBase.connect(CliCommandTestBase.java:242)
>         at org.apache.geode.management.internal.cli.commands.CliCommandTestBase.setUpJmxManagerOnVm0ThenConnect(CliCommandTestBase.java:143)
>         at org.apache.geode.management.internal.cli.commands.FunctionCommandsDUnitTest.testExecuteFunctionOnMembersWithArgsAndCustomResultCollector(FunctionCommandsDUnitTest.java:396)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)