Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-45913

Racy tests in MetadataManagerTest

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2020-02-10
    • 0

    Description

      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.

      Attachments

        Activity

          People

            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: