summaryrefslogtreecommitdiff
path: root/jstests/tool/dumprestore_excludecollections.js
diff options
context:
space:
mode:
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!");