summaryrefslogtreecommitdiff
path: root/jstests/fail_point
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/fail_point
parent7c53bb196f13bfebbbee0d235b3887a348e303a6 (diff)
downloadmongo-df10adbfe55f21e3476be508436345e03b12fddc.tar.gz
SERVER-27549 Print message on intentional server crash.
Diffstat (limited to 'jstests/fail_point')
-rw-r--r--jstests/fail_point/fail_point.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/fail_point/fail_point.js b/jstests/fail_point/fail_point.js
index 0bb08f0b358..b8c877cb9b2 100644
--- a/jstests/fail_point/fail_point.js
+++ b/jstests/fail_point/fail_point.js
@@ -69,7 +69,7 @@ var runTest = function(adminDB) {
var conn = MongoRunner.runMongod();
runTest(conn.getDB('admin'));
-MongoRunner.stopMongod(conn.port);
+MongoRunner.stopMongod(conn);
///////////////////////////////////////////////////////////
// Test mongos