Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1141

Tests should not reuse collections across clients

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Testing
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As shown in SERVER-27127, the Catch test code inherent creates races, as each test path (i.e. test case and section combination) creates a new connection, which removes the monotonic write guarantee and means that test paths are not truly isolated from each other.

      One fix could be to have tests use unique collection names, so that every test path occurs with a fresh collection.

            Assignee:
            isabella.siu@mongodb.com Isabella Siu (Inactive)
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: