summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/testing/testcases/jstest.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/resmokelib/testing/testcases/jstest.py')
-rw-r--r--buildscripts/resmokelib/testing/testcases/jstest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/testing/testcases/jstest.py b/buildscripts/resmokelib/testing/testcases/jstest.py
index 78c98e642da..670d6f32876 100644
--- a/buildscripts/resmokelib/testing/testcases/jstest.py
+++ b/buildscripts/resmokelib/testing/testcases/jstest.py
@@ -270,7 +270,7 @@ class JSTestCase(interface.TestCase, interface.UndoDBUtilsMixin):
"""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.")