Remove test checks for DB version >= 7.0 in tests relying on idempotency of create command

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-05-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-60064, logic was added to a few tests such that the tests return early or make a different assertion if the DB version is < 7.0. This was necessary to allow the tests to run in multiversion suites where create is only idempotent on the newer server version. Once we branch 7.0, multiversion testing will only include server versions where create is idempotent, so we can remove this special-casing.

      Affected tests:

      • jstests/replsets/noop_writes_wait_for_write_concern.js
      • jstests/core/views/views_creation.js
      • jstests/core/ddl/create_collection.js

            Assignee:
            Dianna Hohensee (Inactive)
            Reporter:
            Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: