[
https://issues.apache.org/jira/browse/GEODE-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945383#comment-14945383
]
ASF subversion and git services commented on GEODE-362:
-------------------------------------------------------
Commit 1673e2461524f97b93b413d4d1b60486c92b5752 in incubator-geode's branch
refs/heads/develop from [~dschneider]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=1673e24 ]
GEODE-362: fix intermittent failures in TXExpiryJUnitTest
The TXExpiryJUnitTest now uses a test hook so it can be notified
when an ExpiryTask has expired. Note that when a tx is in progress
ExpiryTasks expire but do not perform their expiration action.
When the tx completes the expiration is rescheduled.
TxExpiryJUnitTest now also configures millisecond expiration units
so it can run faster. And the code has been cleaned up to remove
all eclipse warnings.
> TXExpiryJUnitTest.testEntryIdleExpiration intermittently fails because Cache
> listener detected a destroy
> --------------------------------------------------------------------------------------------------------
>
> Key: GEODE-362
> URL: https://issues.apache.org/jira/browse/GEODE-362
> Project: Geode
> Issue Type: Bug
> Components: tests
> Reporter: Darrel Schneider
> Assignee: Darrel Schneider
> Priority: Minor
> Labels: CI
>
> This was seen on a private build of git rev
> 4708d4e182f89c6a391fcad8bac854f929717685:
> {code}
> java.lang.AssertionError: Cache listener detected a destroy oh man that is
> bad!
> at org.junit.Assert.fail(Assert.java:88)
> at
> com.gemstone.gemfire.TXExpiryJUnitTest.waitDance(TXExpiryJUnitTest.java:122)
> at
> com.gemstone.gemfire.TXExpiryJUnitTest.generalEntryExpirationTest(TXExpiryJUnitTest.java:186)
> at
> com.gemstone.gemfire.TXExpiryJUnitTest.testEntryIdleExpiration(TXExpiryJUnitTest.java:106)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)