diff options
author | Ben Caimano <ben.caimano@mongodb.com> | 2019-10-04 14:46:59 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-04 14:46:59 +0000 |
commit | 906205275fef14c0ef6fecef54f1c1358918c26e (patch) | |
tree | 1704613ff291e5fb0a5de38b4f85fcfa6419c49d /src/mongo/client/dbclient_rs_test.cpp | |
parent | f64cbba8bfdc2dfec2d90480944c00580bc4ce8f (diff) | |
download | mongo-906205275fef14c0ef6fecef54f1c1358918c26e.tar.gz |
SERVER-43015 ReplicaSetMonitor should timeout waiters upon rescan
Diffstat (limited to 'src/mongo/client/dbclient_rs_test.cpp')
-rw-r--r-- | src/mongo/client/dbclient_rs_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/client/dbclient_rs_test.cpp b/src/mongo/client/dbclient_rs_test.cpp index b558adef25e..28e64fa62af 100644 --- a/src/mongo/client/dbclient_rs_test.cpp +++ b/src/mongo/client/dbclient_rs_test.cpp @@ -86,10 +86,11 @@ protected: } void tearDown() { - ReplicaSetMonitor::cleanup(); _replSet.reset(); mongo::ScopedDbConnection::clearPool(); + + ReplicaSetMonitor::shutdown(); } MockReplicaSet* getReplSet() { |