diff options
author | Yu Jin Kang Park <yujin.kang@mongodb.com> | 2022-10-18 12:15:12 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-01-25 15:16:23 +0000 |
commit | 18379661207fa10e680f477cd31055b7cca3bf26 (patch) | |
tree | 9d763ef99b32119dd08843556f0a76d306c7716a /jstests/noPassthrough | |
parent | 7f5b43a5f8900ef0e29d762818a07290fa99c98d (diff) | |
download | mongo-18379661207fa10e680f477cd31055b7cca3bf26.tar.gz |
SERVER-70566 Print error code in backup_restore.js assertion after SIGINT
(cherry picked from commit 313198e9fe2eb9aef4a202393d37496c42575664)
Diffstat (limited to 'jstests/noPassthrough')
-rw-r--r-- | jstests/noPassthrough/libs/backup_restore.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/noPassthrough/libs/backup_restore.js b/jstests/noPassthrough/libs/backup_restore.js index acf51ee5b8f..7f2001b87be 100644 --- a/jstests/noPassthrough/libs/backup_restore.js +++ b/jstests/noPassthrough/libs/backup_restore.js @@ -312,7 +312,8 @@ var BackupRestoreTest = function(options) { // resmoke.py may exit cleanly on SIGINT returning 130, or uncleanly in which case // stopMongoProgramByPid returns -SIGINT. assert(exitCode == 130 || exitCode == -kSIGINT, - 'expected resmoke.py to exit due to being interrupted'); + 'expected resmoke.py to exit due to being interrupted, but exited with code: ' + + exitCode); } // Make sure the databases are not in a drop-pending state. This can happen if we |