summaryrefslogtreecommitdiff
path: root/jstests/dur/dur2.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/dur/dur2.js')
-rw-r--r--jstests/dur/dur2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/dur/dur2.js b/jstests/dur/dur2.js
index 5ff6aa9840e..b56949e00ad 100644
--- a/jstests/dur/dur2.js
+++ b/jstests/dur/dur2.js
@@ -82,7 +82,7 @@ conn = MongoRunner.runMongod({
work();
log("kill -9");
-MongoRunner.stopMongod(conn, /*signal*/ 9);
+MongoRunner.stopMongod(conn, 9, {allowedExitCode: MongoRunner.EXIT_SIGKILL});
// journal file should be present, and non-empty as we killed hard
assert(listFiles(path + "/journal/").length > 0,