Details
-
Bug
-
Resolution: Fixed
-
Major
-
12.10
-
Unknown
-
N/A
-
N/A
-
-
org.xwiki.job.internal.DefaultJobExecutorTest#matchingGroupPathAreBlockedPoolMultiSizeParentFirst
Description
The race condition was found due to a rare flickering of DefaultJobExecutorTest. It is failing from time to time with that stacktrace:
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)