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

Dan Smith commented on GEODE-244:
---------------------------------

I think I see the problem with the second failure here 
testRecoverRedundancyWithOfflinePersistenceSimulation. The it recreates the 
region in vm1. The buckets may be recovering asynchronously. But the test 
asserts that all of the buckets are present immediately. It should wait for the 
buckets to show up.

{noformat}
    vm1.invoke(createPrRegion);
...
      /*
       * No rebalancing above because the simulation flag is on.
       * Therefore, vm1 will have recovered its buckets.
       */
      assertEquals(vm1Buckets,getBucketList("region1",vm1));      
{noformat}

> RebalanceOperationDUnitTest 
> testRecoverRedundancyParallelAsyncEventQueueSimulation failed an assertion
> ------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-244
>                 URL: https://issues.apache.org/jira/browse/GEODE-244
>             Project: Geode
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating
>            Reporter: Kirk Lund
>            Assignee: Dan Smith
>              Labels: CI
>
> RebalanceOperationDUnitTest 
> testRecoverRedundancyParallelAsyncEventQueueSimulation failed an assertion in 
> nightly build #190:
> {color:red}
> {noformat}
> com.gemstone.gemfire.internal.cache.control.RebalanceOperationDUnitTest > 
> testRecoverRedundancyParallelAsyncEventQueueSimulation FAILED
> dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.control.RebalanceOperationDUnitTest$43.run
>  in VM 0 running on Host jenkins-ubuntu-1404-4gb-f59 with 4 VMs
>     at dunit.VM.invoke(VM.java:359)
>     at dunit.VM.invoke(VM.java:303)
>     at dunit.VM.invoke(VM.java:257)
>     at 
> com.gemstone.gemfire.internal.cache.control.RebalanceOperationDUnitTest.recoverRedundancyParallelAsyncEventQueue(RebalanceOperationDUnitTest.java:1148)
>     at 
> com.gemstone.gemfire.internal.cache.control.RebalanceOperationDUnitTest.testRecoverRedundancyParallelAsyncEventQueueSimulation(RebalanceOperationDUnitTest.java:1090)
> Caused by:
> junit.framework.AssertionFailedError: expected:<6> but was:<4>
> {noformat}
> {color}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to