Revert "SERVER-99431: Enable failures for the bazel coverage task (#38082)" (#38156)

Co-authored-by: auto-revert-processor <devprod-si-team@mongodb.com>
GitOrigin-RevId: 3cafb1ce22bae12e702ace6a76d9d149ddaace8f
This commit is contained in:
auto-revert-app[bot]
2025-07-04 18:46:08 +00:00
committed by MongoDB Bot
parent f05c668913
commit cff38fd657
3 changed files with 20 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ class Report(TypedDict):
results: List[Result]
def main(testlog_dir: str):
def main(testlog_dir: str, silent_fail: bool = False):
"""Create an report.json for Evergreen from bazel test logs."""
if not get_expansion("create_bazel_test_report"):
@@ -41,7 +41,7 @@ def main(testlog_dir: str):
test_file = testcase.attrib["name"]
if testcase.find("error") is not None:
status = "fail"
status = "silentfail" if silent_fail else "fail"
else:
status = "pass"