diff options
author | Richard Samuels <richard.l.samuels@gmail.com> | 2022-02-15 15:15:14 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-02-15 17:46:34 +0000 |
commit | ef91dabd0303225987e6831adf551da32b388153 (patch) | |
tree | 37da8818525c989c96e06eccc156f90cae4805df /buildscripts | |
parent | d1842162c8e3e55d2ca25133d85be68550a0b659 (diff) | |
download | mongo-ef91dabd0303225987e6831adf551da32b388153.tar.gz |
SERVER-63646 _raise_if_unsafe_exit uses wrong return_code
(cherry picked from commit 4931ea397a8119b28309c4fbe3604079e840717b)
Diffstat (limited to 'buildscripts')
-rw-r--r-- | buildscripts/resmokelib/testing/testcases/jstest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/testing/testcases/jstest.py b/buildscripts/resmokelib/testing/testcases/jstest.py index 49adf8d16fd..1f209e24f6a 100644 --- a/buildscripts/resmokelib/testing/testcases/jstest.py +++ b/buildscripts/resmokelib/testing/testcases/jstest.py @@ -244,7 +244,7 @@ class JSTestCase(interface.ProcessTestCase): """Determine if a return code represents and unsafe exit.""" # 252 and 253 may be returned in failed test executions. # (i.e. -4 and -3 in mongo_main.cpp) - if self.return_code not in (252, 253, 0): + if return_code not in (252, 253, 0): self.propagate_error = errors.UnsafeExitError( f"Mongo shell exited with code {return_code} while running jstest {self.basename()}." " Further test execution may be unsafe.") |