Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2209

Race condition in ChangeStreamOperationTests

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.5.1
    • 2.5
    • Testing
    • None

    Description

      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.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: