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

    • Server Tooling & Methods
    • 0

      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.

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: