SERVER-122517 Fix override logic for sep_benchmarks threshold check (#50298)
GitOrigin-RevId: b0c7e75de7ad3bf1d9bee044be16df69f7b5c8e7
This commit is contained in:
parent
7d32a2d6b1
commit
be0241629e
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user