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

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

Commit 25f47839a30755b3673c61426258bf63a0895956 in geode's branch 
refs/heads/develop from Aaron Lindsey
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=25f4783 ]

GEODE-6298: Fix flaky test 
LRUListWithAsyncSortingTest.scanMovesRecentlyUsedNodeToTail

There is a race condition within the test. A background thread calls 
unsetRecentlyUsed() on recentlyUsedNode before setting list.tail.previous() to 
recentlyUsedNode. Therefore, it's possible for the assertion on 
list.tail.previous() to fail if the background thread gets interrupted after 
calling unsetRecentlyUsed() but before setting list.tail.previous().


> CI Failure: LRUListWithAsyncSortingTest.scanMovesRecentlyUsedNodeToTail 
> ------------------------------------------------------------------------
>
>                 Key: GEODE-6298
>                 URL: https://issues.apache.org/jira/browse/GEODE-6298
>             Project: Geode
>          Issue Type: Bug
>          Components: regions
>            Reporter: Bruce Schuchardt
>            Assignee: Aaron Lindsey
>            Priority: Major
>              Labels: CI
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Failed in Windows JDK 11 run 
> [234|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/WindowsUnitTestOpenJDK11/builds/234]
> {noformat}
> org.apache.geode.internal.cache.eviction.LRUListWithAsyncSortingTest > 
> scanMovesRecentlyUsedNodeToTail FAILED
>     org.junit.ComparisonFailure: expected:<[first]> but was:<[third]>
>         at 
> jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at 
> jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>         at 
> jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at 
> org.apache.geode.internal.cache.eviction.LRUListWithAsyncSortingTest.scanMovesRecentlyUsedNodeToTail(LRUListWithAsyncSortingTest.java:231)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to