Skip to content

Commit

Permalink
sync: disable flaky WaitGroup misuse test in short mode
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
bradfitz committed Jun 29, 2015
1 parent 5267bf0 commit 7749a9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sync/waitgroup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ func TestWaitGroupMisuse(t *testing.T) {

func TestWaitGroupMisuse2(t *testing.T) {
knownRacy(t)
if testing.Short() {
t.Skip("skipping flaky test in short mode; see issue 11443")
}
if runtime.NumCPU() <= 2 {
t.Skip("NumCPU<=2, skipping: this test requires parallelism")
}
Expand Down

0 comments on commit 7749a9a

Please sign in to comment.