summaryrefslogtreecommitdiff
path: root/jstests/tool/dumprestore_excludecollections.js
diff options
context:
space:
mode:
authorRobert Guo <robert.guo@10gen.com>2017-05-08 12:29:50 -0400
committerRobert Guo <robert.guo@10gen.com>2017-05-23 15:18:12 -0400
commitdf10adbfe55f21e3476be508436345e03b12fddc (patch)
tree32f81bce02fbcf357e846fb8f82793b1ae9629d5 /jstests/tool/dumprestore_excludecollections.js
parent7c53bb196f13bfebbbee0d235b3887a348e303a6 (diff)
downloadmongo-df10adbfe55f21e3476be508436345e03b12fddc.tar.gz
SERVER-27549 Print message on intentional server crash.
Diffstat (limited to 'jstests/tool/dumprestore_excludecollections.js')
-rw-r--r--jstests/tool/dumprestore_excludecollections.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/tool/dumprestore_excludecollections.js b/jstests/tool/dumprestore_excludecollections.js
index c3f18065ce3..cfda283b46a 100644
--- a/jstests/tool/dumprestore_excludecollections.js
+++ b/jstests/tool/dumprestore_excludecollections.js
@@ -114,7 +114,7 @@ destDB.dropDatabase();
// times, but that is not tested here because right now MongoRunners can only be configured using
// javascript objects which do not allow duplicate keys. See SERVER-14220.
-MongoRunner.stopMongod(mongodDest.port);
-MongoRunner.stopMongod(mongodSource.port);
+MongoRunner.stopMongod(mongodDest);
+MongoRunner.stopMongod(mongodSource);
print(testBaseName + " success!");