[SERVER-56771] Change resharding_disallow_writes.js and resharding_disallow_drop.js tests to allow ExceededTimeLimitError instead of specifying a maxTimeMS error. Created: 07/May/21  Updated: 29/Oct/23  Resolved: 20/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc0, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Blake Oler Assignee: Jamie Anderson
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-autocommits
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-05-17, Sharding 2021-05-31
Participants:
Linked BF Score: 40
Story Points: 1

 Description   

A failure due to reaching a timeout can present with different error codes. Changing to check for the ExceededTimeLimitError category will make the test less brittle.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 20/May/21 ]

Author:

{'name': 'Jamie Anderson', 'email': 'jamie.anderson@mongodb.com', 'username': 'jandersongo'}

Message: SERVER-56771: Change resharding_disallow_writes.js and resharding_disallow_drop.js tests to allow ExceededTimeLimitError instead of specifying a maxTimeMS error.

(cherry picked from commit f99bf23e8e6d88e4ff6800eb24b200fc382e7753)
Branch: v5.0
https://github.com/mongodb/mongo/commit/fb8a1d767f5f71a8378664242726428ac31cb545

Comment by Githook User [ 19/May/21 ]

Author:

{'name': 'Jamie Anderson', 'email': 'jamie.anderson@mongodb.com', 'username': 'jandersongo'}

Message: SERVER-56771: Change resharding_disallow_writes.js and resharding_disallow_drop.js tests to allow ExceededTimeLimitError instead of specifying a maxTimeMS error.
Branch: master
https://github.com/mongodb/mongo/commit/f99bf23e8e6d88e4ff6800eb24b200fc382e7753

Generated at Thu Feb 08 05:40:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.