There are 2 updates.
 
 
XWiki Commons / cid:jira-generated-image-avatar-f74bba5f-398f-4d4d-b5b8-64a5626148fe XCOMMONS-2092 Reopened

Possible race condition in ReadWriteSemaphore

 
View issue   ยท   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-e7727664-ac84-4fb1-927f-540829dceb3b Changes by Simon Urli on 11/Sep/26 11:01
 
Summary: Flickering test DefaultJobExecutorTest.matchingGroupPathAreBlockedPoolMultiSizeParentFirst Possible race condition in ReadWriteSemaphore
Description: The test race condition was found due to a rare flickering of DefaultJobExecutorTest. It is failing from time to time with that stacktrace:
{noformat}
org.opentest4j.AssertionFailedError: Job never reached expected state [WAITING]. Still [null] after 100 milliseconds
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:39)
at org.junit.jupiter.api.Assertions.fail(Assertions.java:117)
at org.xwiki.job.internal.DefaultJobExecutorTest.waitJobState(DefaultJobExecutorTest.java:110)
at org.xwiki.job.internal.DefaultJobExecutorTest.waitJobWaiting(DefaultJobExecutorTest.java:83)
at org.xwiki.job.internal.DefaultJobExecutorTest.matchingGroupPathAreBlockedPoolMultiSizeParentFirst(DefaultJobExecutorTest.java:285)
{noformat}