[
https://issues.apache.org/jira/browse/GEODE-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660365#comment-14660365
]
ASF subversion and git services commented on GEODE-185:
-------------------------------------------------------
Commit b86c3082c4dbb85e6929875e666ef63440b02f05 in incubator-geode's branch
refs/heads/feature/GEODE-137 from [~dschneider]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=b86c308 ]
GEODE-185: Fix races in testRegionIdleInvalidate
The test code is now careful to wait for the expiration clock to advance.
A different assertion will be triggered if the expiration clock goes back in
time.
Fixed two places in the product expiration code that did not use the expiration
clock.
> testRegionIdleInvalidate fails intermittently with expected getExpiry to be >
> than putExpiry
> --------------------------------------------------------------------------------------------
>
> Key: GEODE-185
> URL: https://issues.apache.org/jira/browse/GEODE-185
> Project: Geode
> Issue Type: Bug
> Reporter: Darrel Schneider
> Assignee: Darrel Schneider
> Priority: Minor
>
> see:
> http://brazil.gemstone.com:8080/job/GemFire_develop_CC/1061/testReport/com.gemstone.gemfire.cache30/DiskDistributedNoAckSyncOverflowRegionDUnitTest/testRegionIdleInvalidate/
> com.gemstone.gemfire.cache30.DiskDistributedNoAckSyncOverflowRegionDUnitTest.testRegionIdleInvalidate
> dunit.RMIException: While invoking
> com.gemstone.gemfire.cache30.RegionTestCase$21.run in VM 0 running on Host
> cc2-rh6.gemstone.com 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.cache30.RegionTestCase.testRegionIdleInvalidate(RegionTestCase.java:3804)
> Caused by: junit.framework.AssertionFailedError: expected
> getExpiry=1438639527477 to be > than putExpiry=1438639527477
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.TestCase.assertTrue(TestCase.java:192)
> at
> com.gemstone.gemfire.cache30.RegionTestCase$21.run2(RegionTestCase.java:3870)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)