[
https://issues.apache.org/jira/browse/GEODE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14903538#comment-14903538
]
ASF subversion and git services commented on GEODE-346:
-------------------------------------------------------
Commit 71e8dc85fd40c91ef53c2f1ee7dca5cfb082b070 in incubator-geode's branch
refs/heads/develop from Ashvin Agrawal
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=71e8dc8 ]
GEODE-346: Fix race condition and simplify junit
Rebalancer junit were using mocks for testing distributed lock state changes.
Avoid mocks and use DistributedLockService directly
> AutoBalancerJUnitTest.testLockSuccess fails intermittently
> ----------------------------------------------------------
>
> Key: GEODE-346
> URL: https://issues.apache.org/jira/browse/GEODE-346
> Project: Geode
> Issue Type: Bug
> Reporter: Darrel Schneider
> Assignee: Ashvin
> Labels: CI
>
> Failed in this build:
> https://builds.apache.org/job/Geode-nightly/221/testReport/junit/com.gemstone.gemfire.cache.util/AutoBalancerJUnitTest/testLockSuccess/
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertTrue(Assert.java:52)
> at
> com.gemstone.gemfire.cache.util.AutoBalancerJUnitTest.testLockSuccess(AutoBalancerJUnitTest.java:177)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)