You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Shelley Lynn Hughes-Godfrey (JIRA)" <ji...@apache.org> on 2017/10/02 22:14:01 UTC

[jira] [Created] (GEODE-3735) FunctionCommandsDUnitTest should be refactored to use new new test rules

Shelley Lynn Hughes-Godfrey created GEODE-3735:
--------------------------------------------------

             Summary: 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: functions, gfsh
            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)