diff options
author | Ali Mir <ali.mir@mongodb.com> | 2020-09-11 14:07:06 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-09-21 14:16:33 +0000 |
commit | 8797f3b34d6602db8b44f93e345cec38058508e5 (patch) | |
tree | 78df429362e9f136815f922b42f68e16b759fc49 /jstests/noPassthrough/indexbg_killop_stepdown.js | |
parent | 1f18dc5ce618f61e54d2ac203cbf16b8d388c862 (diff) | |
download | mongo-8797f3b34d6602db8b44f93e345cec38058508e5.tar.gz |
SERVER-50072 Check _isWindows() when initializing MongoRunner.EXIT_ABORT
Diffstat (limited to 'jstests/noPassthrough/indexbg_killop_stepdown.js')
-rw-r--r-- | jstests/noPassthrough/indexbg_killop_stepdown.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/noPassthrough/indexbg_killop_stepdown.js b/jstests/noPassthrough/indexbg_killop_stepdown.js index 699bc952be0..707dad4347d 100644 --- a/jstests/noPassthrough/indexbg_killop_stepdown.js +++ b/jstests/noPassthrough/indexbg_killop_stepdown.js @@ -91,8 +91,7 @@ assert.soon(function() { }); // After restarting the old primary, we expect that the index build completes successfully. -const fassertProcessExitCode = _isWindows() ? MongoRunner.EXIT_ABRUPT : MongoRunner.EXIT_ABORT; -rst.stop(primary.nodeId, undefined, {forRestart: true, allowedExitCode: fassertProcessExitCode}); +rst.stop(primary.nodeId, undefined, {forRestart: true, allowedExitCode: MongoRunner.EXIT_ABORT}); rst.start(primary.nodeId, undefined, true /* restart */); // Wait for the index build to complete. |