fix: classify expected runtime errors correctly (#2950)

This commit is contained in:
Carlos Florêncio
2026-08-23 15:11:44 +00:00
committed by GitHub
parent 42478c1569
commit 94fd9dcd44
20 changed files with 702 additions and 24 deletions
@@ -89,6 +89,17 @@ class DesktopE2EWorkflowContractTest(unittest.TestCase):
):
self.assertIn(pattern, changes_job)
def test_normal_shard_has_queue_safe_timeout(self) -> None:
workflow = E2E_WORKFLOW.read_text(encoding="utf-8")
normal_job = job_block(workflow, "e2e", "e2e-containers")
self.assertIn(
"# 35 min covers the serial count-fallback tail and setup overhead",
normal_job,
)
self.assertIn("timeout-minutes: 35", normal_job)
self.assertNotIn("timeout-minutes: 25", normal_job)
def test_contract_runs_in_the_unfiltered_required_workflow(self) -> None:
workflow = LINT_WORKFLOW.read_text(encoding="utf-8")