summaryrefslogtreecommitdiff
path: root/jstests/replsets/drain.js
diff options
context:
space:
mode:
authorKevin Albertson <kevin.albertson@10gen.com>2018-04-25 07:53:19 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2018-04-25 07:53:19 -0400
commit03f89bb1588cfa2592586e4fbabc6eb14edd6591 (patch)
tree1275b019dd4dfbbd2a05598533192e1cbc2f133f /jstests/replsets/drain.js
parentda6a8e6c7842e8f17acf89bfbf7a89384d5cc49d (diff)
downloadmongo-03f89bb1588cfa2592586e4fbabc6eb14edd6591.tar.gz
SERVER-25640 terminate running processes in jstests
(cherry picked from commit c556e377094792e7253a95cb5fedcd703a99bf2c)
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();
})();