Race condition in ChangeStreamOperationTests

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.5.1
    • Affects Version/s: 2.5
    • Component/s: Testing
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The server returns an error when $changeStream refers to a collection and database that don't exist:

      Command aggregate failed: cannot open $changeStream for non-existent database: Tests03071653.
      

      Depending on the order in which tests happen to be run some of the tests in ChangeStreamOperationTests can fail if the database hasn't already been created by some other test first.

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

              Created:
              Updated:
              Resolved: