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

Shelley Lynn Hughes-Godfrey updated GEODE-3735:
-----------------------------------------------
    Affects Version/s: 1.3.0

> 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
>
> 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
(v6.4.14#64029)

Reply via email to