summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvrachev <vlad.rachev@mongodb.com>2020-10-01 10:25:48 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-10-15 13:47:30 +0000
commit392093165d9b23f2ebaf5d6fe475ccbef4c86d3b (patch)
tree760525a178041ef8a67d5f9e8149ea4fb9849b60
parent35b3138c5cf8941a79c5763ec830ffc474c62dab (diff)
downloadmongo-392093165d9b23f2ebaf5d6fe475ccbef4c86d3b.tar.gz
SERVER-48705 disable taking cores during resmoke fixture teardown
-rw-r--r--buildscripts/resmokelib/testing/hook_test_archival.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/resmokelib/testing/hook_test_archival.py b/buildscripts/resmokelib/testing/hook_test_archival.py
index 4a643f541b3..0ef70263f82 100644
--- a/buildscripts/resmokelib/testing/hook_test_archival.py
+++ b/buildscripts/resmokelib/testing/hook_test_archival.py
@@ -102,8 +102,8 @@ class HookTestArchival(object):
def _archive_hook_or_test(self, logger, test_name, test, manager):
"""Trigger archive of data files for a test or hook."""
- # We can still attempt archiving even if the teardown fails.
- if not manager.teardown_fixture(logger, abort=True):
+ logger.warning("SERVER-48705 - Disable taking core dumps on fixture teardowns.")
+ if not manager.teardown_fixture(logger, abort=False):
logger.warning("Error while aborting test fixtures; data files may be invalid.")
with self._lock:
# Test repeat number is how many times the particular test has been archived.