-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 5.2.0, 4.2.17, 5.0.5, 4.4.12
-
Component/s: None
-
Fully Compatible
-
ALL
-
v5.0, v4.4, v4.2
-
Sharding EMEA 2022-02-21
-
41
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.