diff options
author | Russ Cox <rsc@golang.org> | 2019-05-15 14:31:10 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2019-05-16 03:25:03 +0000 |
commit | 018d9b42a789809198bb0bcc338d9948a479b108 (patch) | |
tree | a9f9709933f6124c88fe2d7644a4c01577ae0adc /src/runtime/semasleep_test.go | |
parent | dccd5da08eb45923df9fb9ee2a05a9fbbe8c185c (diff) | |
download | go-018d9b42a789809198bb0bcc338d9948a479b108.tar.gz go-018d9b42a789809198bb0bcc338d9948a479b108.zip |
runtime: disable some tests in -quick mode
Speeds up the "go test runtime -cpu=1,2,4 -short -quick" phase of all.bash.
For #26473.
Change-Id: I090f5a5aa754462b3253a2156dc31fa67ce7af2a
Reviewed-on: https://go-review.googlesource.com/c/go/+/177399
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/semasleep_test.go')
-rw-r--r-- | src/runtime/semasleep_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/semasleep_test.go b/src/runtime/semasleep_test.go index 5b2cc64483..b931095619 100644 --- a/src/runtime/semasleep_test.go +++ b/src/runtime/semasleep_test.go @@ -21,6 +21,9 @@ import ( // shouldn't cause semasleep to retry with the same timeout which would // cause indefinite spinning. func TestSpuriousWakeupsNeverHangSemasleep(t *testing.T) { + if *flagQuick { + t.Skip("-quick") + } testenv.MustHaveGoBuild(t) tempDir, err := ioutil.TempDir("", "issue-27250") if err != nil { |