[SERVER-40847] hybrid_unique_index_with_updates.js should use a unique namespace for every test case Created: 26/Apr/19  Updated: 29/Oct/23  Resolved: 26/Apr/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.11

Type: Improvement Priority: Minor - P4
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2019-05-06
Participants:
Linked BF Score: 10

 Description   

hybrid_unique_index_with_updates.js runs multiple variations of the basic test for unique indexes built using the hybrid method. The test uses the same namespace test.hybrid during every test run. Sometimes the fail point enabled in a test run may interfere with the clean up from finalizing the replication two phase drop on a collection used in a previous test run. To mitigate this issue and to improve diagnostics in the case of a test failure, we should consider using a different namespace for every test run. This also makes it unnecessary to remove the collection at the beginning of every test run.



 Comments   
Comment by Githook User [ 26/Apr/19 ]

Author:

{'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}

Message: SERVER-40847 hybrid_unique_index_with_updates.js uses unique collection name for each test run
Branch: master
https://github.com/mongodb/mongo/commit/466fd9bf23cb4c694891d77af02b338353d32eb8

Comment by Githook User [ 26/Apr/19 ]

Author:

{'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}

Message: SERVER-40847 refactor hybrid_unique_index_with_updates.js to support unique namespace for each test run
Branch: master
https://github.com/mongodb/mongo/commit/59842d70c82c21fe4247b0148f4fee2d06c70b5f

Generated at Thu Feb 08 04:56:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.