Racy tests in MetadataManagerTest

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2020-02-10
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A test failure can be reliably reproduced by putting a sleep after this line. There's nothing stopping the range deletion task from succeeding before that. Since this tests a test-only function I think we can remove the test or do setup like in this other test.

      The same is true here. We should fix all instances of racy !isReady assertions in this file.

            Assignee:
            Matthew Saltz (Inactive)
            Reporter:
            Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: