summaryrefslogtreecommitdiff
path: root/jstests/sharding/addshard_idempotent.js
diff options
context:
space:
mode:
authorKevin Albertson <kevin.albertson@10gen.com>2018-02-08 09:46:57 -0500
committerKevin Albertson <kevin.albertson@10gen.com>2018-02-08 09:46:57 -0500
commitc556e377094792e7253a95cb5fedcd703a99bf2c (patch)
treeb2032e22b5ab1ef21927f2483578cb11df3c341d /jstests/sharding/addshard_idempotent.js
parente1fdc072a60a0cc47395e09c3d9a796f424e0040 (diff)
downloadmongo-c556e377094792e7253a95cb5fedcd703a99bf2c.tar.gz
SERVER-25640 terminate running processes in jstests
Diffstat (limited to 'jstests/sharding/addshard_idempotent.js')
-rw-r--r--jstests/sharding/addshard_idempotent.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/sharding/addshard_idempotent.js b/jstests/sharding/addshard_idempotent.js
index e0d98e9ea18..796869d2cd0 100644
--- a/jstests/sharding/addshard_idempotent.js
+++ b/jstests/sharding/addshard_idempotent.js
@@ -50,7 +50,8 @@
assert.eq(shard2.getURL(), shard.host);
}
}
-
+ MongoRunner.stopMongod(shard1);
+ shard2.stopSet();
st.stop();
})();