[SERVER-54169] update geo_s2disjoint_holes.js to check expected error codes Created: 01/Feb/21  Updated: 29/Oct/23  Resolved: 04/Feb/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.9.0, 4.4.5

Type: Improvement Priority: Major - P3
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:
Backports
Depends
Related
is related to SERVER-61601 Determine if global lock upgrade is n... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Execution Team 2021-02-08
Participants:
Linked BF Score: 4

 Description   

This test could use a little updating. We can avoid checking the number of indexes after a failed command, which may be affected by the current replication state, with a check on the error code in the failed command result.

This should enable the test to run more smoothly in passthrough test suites.



 Comments   
Comment by Githook User [ 16/Feb/21 ]

Author:

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

Message: SERVER-54169 update geo_s2disjoint_holds.js to check command error code rather than listIndexes

(cherry picked from commit 87de2d8c2adbda44a43a147d870f6456d74689dc)
Branch: v4.4
https://github.com/mongodb/mongo/commit/51165bc40358657fc3159ca44509a8698066a61d

Comment by Githook User [ 03/Feb/21 ]

Author:

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

Message: SERVER-54169 update geo_s2disjoint_holds.js to check command error code rather than listIndexes
Branch: master
https://github.com/mongodb/mongo/commit/87de2d8c2adbda44a43a147d870f6456d74689dc

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