Skip to content

Commit 882a79a

Browse files
committed
ci: raise the Windows unit-test timeout to Go's default 10m
The Unix step has no explicit -timeout (Go default 10m per package); the Windows step capped at 5m, which internal/runtime and internal/server now exceed on slow runners as the suites have grown. Two consecutive Windows failures on this branch were pure 'panic: test timed out after 5m0s' with different tests holding the bag each time.
1 parent ed80b5a commit 882a79a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/unit-tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
- name: Run unit tests (Windows)
124124
if: matrix.os == 'windows-latest'
125125
shell: pwsh
126-
run: go test -v -race -timeout 5m '-coverprofile=coverage.out' -covermode=atomic '-skip=E2E|Binary|MCPProtocol|TestInfoEndpoint|TestGracefulShutdownNoPanic|TestSocketInfoEndpoint' ./...
126+
run: go test -v -race -timeout 10m '-coverprofile=coverage.out' -covermode=atomic '-skip=E2E|Binary|MCPProtocol|TestInfoEndpoint|TestGracefulShutdownNoPanic|TestSocketInfoEndpoint' ./...
127127

128128
- name: Run unit tests (Unix)
129129
if: matrix.os != 'windows-latest'

0 commit comments

Comments
 (0)