summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_rs_test.cpp
diff options
context:
space:
mode:
authorBen Caimano <ben.caimano@mongodb.com>2019-10-04 14:46:59 +0000
committerevergreen <evergreen@mongodb.com>2019-10-04 14:46:59 +0000
commit906205275fef14c0ef6fecef54f1c1358918c26e (patch)
tree1704613ff291e5fb0a5de38b4f85fcfa6419c49d /src/mongo/client/dbclient_rs_test.cpp
parentf64cbba8bfdc2dfec2d90480944c00580bc4ce8f (diff)
downloadmongo-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.cpp3
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() {