diff --git a/src/pkg/net/http/z_last_test.go b/src/pkg/net/http/z_last_test.go index c000c537e4..a80fb01d0a 100644 --- a/src/pkg/net/http/z_last_test.go +++ b/src/pkg/net/http/z_last_test.go @@ -39,6 +39,9 @@ func interestingGoroutines() (gs []string) { // Verify the other tests didn't leave any goroutines running. // This is in a file named z_last_test.go so it sorts at the end. func TestGoroutinesRunning(t *testing.T) { + if testing.Short() { + t.Skip("not counting goroutines for leakage in -short mode") + } gs := interestingGoroutines() n := 0