Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
5.2.0, 4.2.17, 5.0.5, 4.4.12
-
None
-
Fully Compatible
-
ALL
-
v5.0, v4.4, v4.2
-
Sharding EMEA 2022-02-21
-
41
Description
The test is trying to handle the non-idempotency of removeShard (SERVER-32553) by checking for ShardNotFound error . However, the check is wrongly preceded by an assert.CommandWorked that throws before being able to check the error code.