ConcurrentTokenAcquisitionWithQueueing waits on queued() but asserts on addedToQueue

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Workload Resilience
    • Fully Compatible
    • ALL
    • Workload Resilience 2026-08-17
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The test waits for `rateLimiter.queued() == 8` (line 643), which is incremented inside `enqueue()`. But `addedToQueue()` stat is recorded on line 356 after `enqueue()` returns. So all 8 threads can be "in the queue" yet one or more haven't incremented the stat yet, causing the test to fail.

            Assignee:
            Patrick Freed
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: