-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Fully Compatible
-
STM 2021-05-17
-
49
-
2
replicaset.py runs count() on local.system.replset to decide whether to initiate a test fixture replica set. This version of count() may be unreliable after unclean shutdowns and was deprecated in pymongo 3.7. We should use countDocuments() instead.
While we're here, it might also be worth adding logging to say we're skipping initialization.