summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2015-06-12 09:53:37 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2015-06-12 09:54:18 -0400
commit8d117a49d1f0ced022ea77267fadd30b498fb58a (patch)
treef1c9b7fc03bd7ad6e5cd32a95ac2fc2ded24e6f3 /buildscripts
parentc2d9875f5c8dcca3f954713cc707c5116c3fae15 (diff)
downloadmongo-8d117a49d1f0ced022ea77267fadd30b498fb58a.tar.gz
SERVER-18933 Fix --continueOnFailure on ASAN builder.
A ServerFailure exception is always converted into a StopExecution exception, whereas a TestFailure exception is only converted if --continueOnFailure wasn't specified.
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokelib/testing/hooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/testing/hooks.py b/buildscripts/resmokelib/testing/hooks.py
index 82e57be8531..d42615ce06f 100644
--- a/buildscripts/resmokelib/testing/hooks.py
+++ b/buildscripts/resmokelib/testing/hooks.py
@@ -123,7 +123,7 @@ class CleanEveryN(CustomBehavior):
# Raise this after calling setup in case --continueOnFailure was specified.
if not teardown_success:
- raise errors.ServerFailure("%s did not exit cleanly" % (self.fixture))
+ raise errors.TestFailure("%s did not exit cleanly" % (self.fixture))
class CheckReplDBHash(CustomBehavior):