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

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

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

      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@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: