-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Fully Compatible
-
ALL
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Test is indeed flaky. In ConcurrentPushRaceWithEarlyConsumerStop, the worker thread accepts 100 items, so it should wait until the producers have enqueued more than 100 items, so that the 101st item (and onwards) will be dangling in the queue.
Instead, the worker thread waits until the producers threads haveĀ attempted to enqueue more than 100 items. As a result, the producers might haveĀ attempted to enqueue the 101st item, but failed, which trips the assertion.