summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/replset_host_connection_validation.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/replset_host_connection_validation.js')
-rw-r--r--jstests/noPassthroughWithMongod/replset_host_connection_validation.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/noPassthroughWithMongod/replset_host_connection_validation.js b/jstests/noPassthroughWithMongod/replset_host_connection_validation.js
index d352ce60182..159efefd3b1 100644
--- a/jstests/noPassthroughWithMongod/replset_host_connection_validation.js
+++ b/jstests/noPassthroughWithMongod/replset_host_connection_validation.js
@@ -27,6 +27,7 @@
const exitCode = _runMongoProgram(...args);
jsTest.log("Inner mode test finished, exit code was " + exitCode);
+ replTest.stopSet();
// Pass the inner test's exit code back as the outer test's exit code
if (exitCode != 0) {
doassert("inner test failed with exit code " + exitCode);