Test for blocking queue should not test for non-guaranteed condition

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.10, 4.0.16, 3.6.18
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Repl 2019-03-25
    • 28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      There is a test for the utility class BlockingQueue in mongodb/src/mongo/dbtests/basictests.cpp which tests to make sure a pop on an empty queue doesn't take too long. However, the class provides no such guarantee; under load, the pop may take an arbitrary amount of time. We should remove that check.

      (this is on replication because the only user of this class is the OplogBufferBlockingQueue)

            Assignee:
            Matthew Russotto
            Reporter:
            Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: