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

ASF subversion and git services commented on GEODE-6685:
--------------------------------------------------------

Commit 3d51886b4493f5366c7743d7dc53756266360f3a in geode's branch 
refs/heads/develop from Darrel Schneider
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=3d51886 ]

GEODE-6685: fix flaky test

The test was asserting that we did more than 100 expirations.
But race conditions exist that allow the test to do exactly 100 expirations.
Since this test is only meant to make sure that expirations are disabled during 
GII,
I changed the assertion to allow 100 or more expirations.
I also added an assertion that all invalidates should be from expiration.

> CI failure: 
> org.apache.geode.internal.cache.EntriesDoNotExpireDuringGiiRegressionTest.entriesShouldNotExpireDuringGII
>  AssertionError
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-6685
>                 URL: https://issues.apache.org/jira/browse/GEODE-6685
>             Project: Geode
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Lynn Gallinat
>            Assignee: Darrel Schneider
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> org.apache.geode.internal.cache.EntriesDoNotExpireDuringGiiRegressionTest > 
> entriesShouldNotExpireDuringGII FAILED
>     java.lang.AssertionError: 
>     Expecting:
>      <100>
>     to be greater than:
>      <100> 
>         at 
> org.apache.geode.internal.cache.EntriesDoNotExpireDuringGiiRegressionTest.entriesShouldNotExpireDuringGII(EntriesDoNotExpireDuringGiiRegressionTest.java:124)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to