Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-57928

create_collection.js should use a dedicated database name and avoid dropping the test database

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.2, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v5.0
    • Execution Team 2021-06-28
    • 115

      The test (in jstests/core/txns) as currently written makes it work poorly in some test suites, especially when there are other tests in jstests/core. The test drops the test database at the beginning, erasing the state left behind by other tests that share the same database. This issue is also present in create_collections_parallel.js and create_indexes_parallel.js.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: