[SERVER-66860] FSM tests should not reuse same database names Created: 30/May/22  Updated: 29/Oct/23  Resolved: 31/May/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 5.0.9, 6.0.0-rc7
Fix Version/s: 5.0.10, 5.3.3, 6.0.0-rc9, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0, v5.3, v5.0
Sprint: Sharding EMEA 2022-06-13
Participants:
Linked BF Score: 31

 Description   
  • FSM tests are executed serially in concurrency suites and they re-use the same cluster.

So we should ensure that each test uses its own specific namepsaces. Prefixing the db name with jsTestName() should be enough.

This is a non-exaustive list of test that use a generic db name:



 Comments   
Comment by Githook User [ 01/Jun/22 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-66860 FSM tests should not reuse same database names

(cherry picked from commit d88a892d5b18035bd0f5393a42690e705c2007d7)
Branch: v5.0
https://github.com/mongodb/mongo/commit/1b644dfa13e2348defacbe472e17badd93408f98

Comment by Githook User [ 01/Jun/22 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-66860 FSM tests should not reuse same database names

(cherry picked from commit d88a892d5b18035bd0f5393a42690e705c2007d7)
Branch: v5.3
https://github.com/mongodb/mongo/commit/58d6f304e928e620ff4475deb9e8913de9840fe1

Comment by Githook User [ 31/May/22 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-66860 FSM tests should not reuse same database names

(cherry picked from commit d88a892d5b18035bd0f5393a42690e705c2007d7)
Branch: v6.0
https://github.com/mongodb/mongo/commit/459b223f3572edcd164cf5754bc2a1c3e7eb7d66

Comment by Githook User [ 31/May/22 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-66860 FSM tests should not reuse same database names
Branch: master
https://github.com/mongodb/mongo/commit/d88a892d5b18035bd0f5393a42690e705c2007d7

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