Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2430

Drop and create collections consistently across runners

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • None

      mtest.CreateCollection will create a collection and only drop it after the test has finished running. The new unified spec test runner will drop the collection at the beginning of the test before creating it. This means that running a unified spec test before running a test that uses mtest.CreateCollection can potentially leave collections undropped between tests. Since the unified test format spec explicitly says to drop the specified collection and then create it, we should probably change mtest.CreateCollection to either do the same or drop the collection before and after test execution.

            Assignee:
            Unassigned Unassigned
            Reporter:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: