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

Race condition in ChangeStreamOperationTests

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.1
    • Affects Version/s: 2.5
    • Component/s: Testing
    • 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@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: