diff options
Diffstat (limited to 'jstests/noPassthrough/libs/backup_restore.js')
| -rw-r--r-- | jstests/noPassthrough/libs/backup_restore.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/jstests/noPassthrough/libs/backup_restore.js b/jstests/noPassthrough/libs/backup_restore.js index 119a9a7147f..2084fc8237d 100644 --- a/jstests/noPassthrough/libs/backup_restore.js +++ b/jstests/noPassthrough/libs/backup_restore.js @@ -308,13 +308,7 @@ var BackupRestoreTest = function(options) { if (!_isWindows()) { // The mongo shell calls TerminateProcess() on Windows rather than more gracefully // interrupting resmoke.py test execution. - - // resmoke.py may exit cleanly on SIGINT, returning 130 if the suite tests were running - // and returning SIGINT otherwise. It may also exit uncleanly, in which case - // stopMongoProgramByPid returns -SIGINT. See SERVER-67390 and SERVER-72449. - assert(exitCode == 130 || exitCode == -kSIGINT || exitCode == kSIGINT, - 'expected resmoke.py to exit due to being interrupted, but exited with code: ' + - exitCode); + assert.eq(130, exitCode, 'expected resmoke.py to exit due to being interrupted'); } // Make sure the databases are not in a drop-pending state. This can happen if we |
