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

Fix Unsynchronized createInstance Calls in MovePrimaryDonorServiceTest

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Evergreen 2023-04-03
    • 45

    Description

      There have been a number of build failures due to races between calling createInstance() and then doing some other work in the unit tests. Add a sleep between creating the instance and returning it to the caller to ensure that all tests properly synchronize with the instance state if necessary.

      Attachments

        Activity

          People

            brett.nawrocki@mongodb.com Brett Nawrocki
            brett.nawrocki@mongodb.com Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: