Improve ticket semaphore unittests

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-119347 and SERVER-119153 added unittests to check the behavior of the ticket semaphore, however, there are several instances where we're sleeping or waiting for a specific condition before moving forward. The purpose of this ticket is to investigate the tests and find a way to improve them to prevent waiting on potentially-unreliable timing for unit tests.

      Also there are some tests cases (like for example PriorityOrderingStillWorksAfterResize) that could be improved to reason about them.

            Assignee:
            Unassigned
            Reporter:
            Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: