SERVER-122517 Fix override logic for sep_benchmarks threshold check (#50298)

GitOrigin-RevId: b0c7e75de7ad3bf1d9bee044be16df69f7b5c8e7
This commit is contained in:
Alice Doherty 2026-03-24 17:03:32 +00:00 committed by MongoDB Bot
parent 7d32a2d6b1
commit be0241629e

View File

@ -417,8 +417,11 @@ class CheckPerfResultTestCase(interface.DynamicTestCase):
)
if any_metric_has_failed:
# If this in the merge queue, check to see if an override comment was made by an authorized user.
if _config.EVERGREEN_REQUESTER == "github_merge_queue":
# Check to see if an override comment was made by an authorized user.
if (
_config.EVERGREEN_REQUESTER == "github_pr"
or _config.EVERGREEN_REQUESTER == "github_merge_queue"
):
github_pr_number = int(get_expansion("github_pr_number", 0))
if not github_pr_number:
raise ServerFailure(