[SERVER-79017] Adapt drop_collection.js and drop_database.js tests to support step down events Created: 17/Jul/23  Updated: 29/Oct/23  Resolved: 18/Jul/23

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

Type: Task Priority: Major - P3
Reporter: Pau Baldillou Salse (Inactive) Assignee: Pau Baldillou Salse (Inactive)
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: Sharding EMEA 2023-07-24
Participants:
Linked BF Score: 47

 Description   

These tests run several times the dropCollection and dropDatabase commands which can produce multiple change log events in case of step down events in the middle.

Both tests are checking the actual and expected number of events in the wrong order (for example here and here).



 Comments   
Comment by Githook User [ 18/Jul/23 ]

Author:

{'name': 'Pau Baldillou Salse', 'email': 'pau.baldillou-salse@mongodb.com', 'username': ''}

Message: SERVER-79017 Adapt `drop_collection.js` and `drop_database.js` tests to support step down events
Branch: master
https://github.com/mongodb/mongo/commit/e005a114ac151d902ef77c1912c19347e7f1e92e

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