-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Labels:None
-
Fully Compatible
-
Repl 2020-06-01
We should consider synchronizing the threads in MongosTopologyCoordinator unit tests in order to test sleep behavior. In a lot of our tests, we use unittest::barrier to synchronize stdx::thread execution, so that's something to look into.
Ideally we would be able to call enterQuiesceModeAndWait() in our unittests so we can eliminate the need for enterQuiesceMode().