-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Sharding, Testing Infrastructure
-
Fully Compatible
-
ALL
-
v4.2, v4.0, v3.6
-
Sharding 2019-10-21
-
4
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Mongo.logout() doesn't go through runCommand(), which is where the stepdown suites catch and retry on stepdown errors. The stepdown suites aren't meant to test auth, so tests that call logout on a mongo object should be blacklisted from them. One way to do this is to override Mongo.logout() to throw in these suites (like what's done here) and add the tag requires_non_retryable_commands to any tests that use that method.