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

Dan Smith commented on GEODE-1171:
----------------------------------

I think the problem is that when the AutoBalancer is created, it's configured 
with a cron schedule that triggers every second. However, it's not expecting 
the cron job to actually fire before the test completes. If it does, we get 
this failure. I can reproduce the issue by adding a 2 second sleep at the end 
of the test.

> AutoBalancerJUnitTest.testOOBWhenAboveThresholdButBelowMin fails 
> intermittently
> -------------------------------------------------------------------------------
>
>                 Key: GEODE-1171
>                 URL: https://issues.apache.org/jira/browse/GEODE-1171
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Swapnil Bawaskar
>            Priority: Blocker
>              Labels: CI
>
> Failed in Travis CI. Logs are at: 
> https://travis-ci.org/apache/incubator-geode/builds/120748668
> {noformat}
> com.gemstone.gemfire.cache.util.AutoBalancerJUnitTest > 
> testOOBWhenAboveThresholdButBelowMin FAILED
>     unexpected invocation: cacheOperationFacade.acquireAutoBalanceLock()
>     expectations:
>       expected once, already invoked 1 time: 
> cacheOperationFacade.getTotalTransferSize(); returns <200L>
>       expected once, never invoked: 
> cacheOperationFacade.getTotalTransferSize(); returns <2000L>
>     what happened before this:
>       cacheOperationFacade.getTotalTransferSize()
>     unexpected invocation: cacheOperationFacade.acquireAutoBalanceLock()
>     expectations:
>       expected once, already invoked 1 time: 
> cacheOperationFacade.getTotalTransferSize(); returns <200L>
>       expected once, never invoked: 
> cacheOperationFacade.getTotalTransferSize(); returns <2000L>
>     what happened before this:
>       cacheOperationFacade.getTotalTransferSize()
> {noformat}



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

Reply via email to