summaryrefslogtreecommitdiff
path: root/jstests/replsets/drain.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/drain.js')
-rw-r--r--jstests/replsets/drain.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/replsets/drain.js b/jstests/replsets/drain.js
index 1f60713a6a6..41e8d475f83 100644
--- a/jstests/replsets/drain.js
+++ b/jstests/replsets/drain.js
@@ -106,4 +106,5 @@
// secondary and we cannot guarantee all writes reached the secondary's op queue prior to
// shutting down the original primary.
assert.gte(primary.getDB("foo").foo.find().itcount(), 2);
+ replSet.stopSet();
})();