geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirk Lund (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-1171) AutoBalancerJUnitTest.testOOBWhenAboveThresholdButBelowMin fails intermittently
Date Tue, 05 Apr 2016 18:14:25 GMT

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

Kirk Lund commented on GEODE-1171:
----------------------------------

If we can figure out a good way to wrap the Timer/Clock/Scheduler with our own interface then
we could mock it in some way to manually control it in the test. This is how the junit src
code base handles their own tests for Timeout support. I've seen it in other code bases besides
junit too.

> AutoBalancerJUnitTest.testOOBWhenAboveThresholdButBelowMin fails intermittently
> -------------------------------------------------------------------------------
>
>                 Key: GEODE-1171
>                 URL: https://issues.apache.org/jira/browse/GEODE-1171
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Swapnil Bawaskar
>            Assignee: Dan Smith
>            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)

Mime
View raw message