-
Type:
Bug
-
Resolution: Gone away
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
ALL
-
-
60
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Multiple tests in the TicketHolder test suite can fail when adding a sleep between the time _enqueuedElements and the _queueMutex is acquired (see linked BFs). It is not safe to rely on _enqueuedElements to determine when an operation has successfully been enqueued. The way the TicketHolder is tested should be changed to account for this.
Original Description:
This test (PriorityTwoQueuedOperations) checks whether both the low and normal priority ticket operations have been enqueued by checking a metric that's incremented before the tickets are actually enqueued (see here). This can result in a hang here as the low priority operation can get the ticket before the normal priority operation.