Jens Deppe created GEODE-6349:
---------------------------------

             Summary: CI failure: 
RebalanceCommandDUnitTest.testWithBadRegionNames causes 
ArrayIndexOutOfBoundsException
                 Key: GEODE-6349
                 URL: https://issues.apache.org/jira/browse/GEODE-6349
             Project: Geode
          Issue Type: Test
          Components: jmx
            Reporter: Jens Deppe


This test failed with the following exception:

 
 
{code:java}
org.apache.geode.management.internal.cli.commands.RebalanceCommandDUnitTest > 
testWithBadRegionNames FAILED
    org.apache.geode.test.dunit.RMIException: While invoking 
org.apache.geode.management.internal.cli.commands.RebalanceCommandDUnitTest$$Lambda$227/0x0000000840407440.run
 in VM 0 running on Host 2ec924e7a6ef with 4 VMs
        at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:533)
        at org.apache.geode.test.dunit.VM.invoke(VM.java:365)
        at 
org.apache.geode.test.junit.rules.VMProvider.invoke(VMProvider.java:85)
        at 
org.apache.geode.management.internal.cli.commands.RebalanceCommandDUnitTest.before(RebalanceCommandDUnitTest.java:106)

        Caused by:
        java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for 
length 2
            at 
org.apache.geode.management.internal.beans.DistributedSystemBridge.listAllRegions(DistributedSystemBridge.java:831)
            at 
org.apache.geode.management.internal.beans.DistributedSystemMBean.listRegions(DistributedSystemMBean.java:237)
            at 
org.apache.geode.management.internal.cli.commands.RebalanceCommandDUnitTest.lambda$waitForManagerMBean$0(RebalanceCommandDUnitTest.java:331){code}
 
Looking at the code, it seems there is a small race in this failing method.
 



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

Reply via email to