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

Tests should not reuse collections across clients

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.2.0-rc0
    • None
    • Testing

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: