[SERVER-74062] Remove test checks for DB version >= 7.0 in tests relying on idempotency of create command Created: 15/Feb/23  Updated: 29/Oct/23  Resolved: 24/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Kaitlin Mahar Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-60064 Make create command idempotent on mongod Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-05-01
Participants:

 Description   

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


 Comments   
Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-74062 Remove test checks for DB version >= 7.0 in tests relying on idempotency of create command
Branch: master
https://github.com/mongodb/mongo/commit/d8aacfa2663fbf4c8ae645e2fd5f158de1d11cc6

Generated at Thu Feb 08 06:26:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.