tailscale: skip testwrapper race tests that require cgo

TestRaceAttributedToPassingTest and TestRaceSuppressesFlakyRetry run
`go test -race`, which requires cgo, but we build with CGO_ENABLED=0.

Assisted-by: Claude Code (claude-fable-5)
This commit is contained in:
Philip Taron
2026-08-03 16:59:56 -07:00
parent a89659eb86
commit 0fc9d65fae

View File

@@ -176,6 +176,10 @@ buildGoModule (finalAttrs: {
# Fails because we vendor dependencies
"TestLicenseHeaders"
# Runs `go test -race`, which requires cgo, but we build with CGO_ENABLED=0
"TestRaceAttributedToPassingTest" # cmd/testwrapper
"TestRaceSuppressesFlakyRetry" # cmd/testwrapper
# Uses testing/synctest which spawns goroutines that block on syscalls
# incompatible with synctest's bubble mechanism
"TestDNSTrampleRecovery"