summaryrefslogtreecommitdiff
path: root/jstests/replsets/single_server_majority.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/single_server_majority.js
parentda6a8e6c7842e8f17acf89bfbf7a89384d5cc49d (diff)
downloadmongo-03f89bb1588cfa2592586e4fbabc6eb14edd6591.tar.gz
SERVER-25640 terminate running processes in jstests
(cherry picked from commit c556e377094792e7253a95cb5fedcd703a99bf2c)
Diffstat (limited to 'jstests/replsets/single_server_majority.js')
-rw-r--r--jstests/replsets/single_server_majority.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/replsets/single_server_majority.js b/jstests/replsets/single_server_majority.js
index c36f021c989..2b70d05280a 100644
--- a/jstests/replsets/single_server_majority.js
+++ b/jstests/replsets/single_server_majority.js
@@ -9,4 +9,5 @@ col = db.getCollection("single_server_majority");
col.drop();
// see if we can get a majority write on this single server
-assert.writeOK(col.save({a: "test"}, {writeConcern: {w: 'majority'}})); \ No newline at end of file
+assert.writeOK(col.save({a: "test"}, {writeConcern: {w: 'majority'}}));
+MongoRunner.stopMongod(mongod);