From 97a972fcef99f18ed2e1c8ad72fe932c8e809a2b Mon Sep 17 00:00:00 2001 From: yhirose Date: Thu, 22 Oct 2026 17:40:53 -0400 Subject: [PATCH] Give the issue-2431 job's test step its own time limit apt on the runner mirror sometimes crawls for minutes (actions/runner-images#14823), which used up the job's 5-minute limit before the test finished. Loosen the job limit to 15 minutes and limit the test step, which normally takes about 80s, to 3 minutes. --- .github/workflows/test.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ba7cc50f..2ff23ed2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -319,10 +319,9 @@ jobs: github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name) || (github.event_name == 'workflow_dispatch' && github.event.inputs.test_linux == 'true') name: issue-2431 repro (Linux + ASAN) - # Bound the whole job in case anything in the test harness hangs - # unexpectedly. With the fixture in place a normal run is well under - # a minute either way (ASAN abort on broken HEAD, clean pass on fix). - timeout-minutes: 5 + # Loose, because apt on the runner mirror can crawl for minutes; the test + # step has its own tight limit. + timeout-minutes: 15 env: DNS_FIXTURE_PORT: "15353" DNS_FIXTURE_DELAY: "3" @@ -370,6 +369,8 @@ jobs: - name: build test binary run: cd test && make test - name: run GetAddrInfoAsyncCancelTest + # A normal run takes about 80s. + timeout-minutes: 3 run: | cd test ARCH=$(uname -m)