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

Ensure tests that create background=true indexes don't run at the same time

    XMLWordPrintable

    Details

    • Linked BF Score:
      0

      Description

      MongoDB only permits creating a single index on a database in the background at a time. If multiple background index builds are attempted, then a BackgroundOperationInProgressForDatabase error response is returned until the first completes. In order to avoid intermittent failures, we should either (a) add tests that create a background index on the "test" database to serialTestsArr, or (b) use a unique database (i.e. test-specific) in jsCore tests that create a background index.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: