diff options
author | Randolph Tan <randolph@10gen.com> | 2015-09-11 17:25:13 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2015-09-11 17:25:13 -0400 |
commit | fb567f59a0338d710d3c63b218b5ad062685e310 (patch) | |
tree | 03d39b735b4cfaaff84b64aa1a8d2e7f008f9555 | |
parent | 23170a4d6251cd57de2179905d9fcb5ec1e4a115 (diff) | |
download | mongo-fb567f59a0338d710d3c63b218b5ad062685e310.tar.gz |
SERVER-20383 Cleanup connections after every ChunkManagerTest
-rw-r--r-- | src/mongo/dbtests/sharding.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/dbtests/sharding.cpp b/src/mongo/dbtests/sharding.cpp index 5d4f76825bb..112c422047f 100644 --- a/src/mongo/dbtests/sharding.cpp +++ b/src/mongo/dbtests/sharding.cpp @@ -132,6 +132,8 @@ public: virtual ~ChunkManagerTest() { // Reset the redirection ConnectionString::setConnectionHook(NULL); + ScopedDbConnection::clearPool(); + ShardConnection::clearPool(); } string collName() { |