]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/api: skip TestIssue21181
authorRuss Cox <rsc@golang.org>
Fri, 19 May 2023 01:24:07 +0000 (21:24 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 19 May 2023 01:36:29 +0000 (01:36 +0000)
It is incredibly slow, taking half as long as the regular cmd/api checks
and over 5 minutes on plan9-arm. Leave it for the longtest builders.

Change-Id: Ic8bd420f174268d0b6a13d84e7bd364f6c13cf41
Reviewed-on: https://go-review.googlesource.com/c/go/+/496375
Auto-Submit: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/api/api_test.go

index 8b1b7c3ce8957f735df12644dd072894528418bc..53ae6fd2c8b3da18dd42d04e1511bf043703754d 100644 (file)
@@ -210,6 +210,9 @@ func BenchmarkAll(b *testing.B) {
 }
 
 func TestIssue21181(t *testing.T) {
+       if testing.Short() {
+               t.Skip("skipping with -short")
+       }
        if *flagCheck {
                // slow, not worth repeating in -check
                t.Skip("skipping with -check set")