Skip to content

Commit 7749a9a

Browse files
committed
sync: disable flaky WaitGroup misuse test in short mode
Update #11443 Change-Id: Icb7ea291a837dcf2799a791a2ba780fd2a5e712b Reviewed-on: https://go-review.googlesource.com/11721 Reviewed-by: Brad Fitzpatrick <[email protected]> Reviewed-by: Dmitry Vyukov <[email protected]>
1 parent 5267bf0 commit 7749a9a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sync/waitgroup_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ func TestWaitGroupMisuse(t *testing.T) {
6969

7070
func TestWaitGroupMisuse2(t *testing.T) {
7171
knownRacy(t)
72+
if testing.Short() {
73+
t.Skip("skipping flaky test in short mode; see issue 11443")
74+
}
7275
if runtime.NumCPU() <= 2 {
7376
t.Skip("NumCPU<=2, skipping: this test requires parallelism")
7477
}

0 commit comments

Comments
 (0)