]> Cypherpunks.ru repositories - gostls13.git/commit
sync: remove TestWaitGroupMisuse2 and TestWaitGroupMisuse3
authorDamien Neil <dneil@google.com>
Thu, 5 Aug 2021 18:32:43 +0000 (11:32 -0700)
committerDamien Neil <dneil@google.com>
Thu, 14 Oct 2021 17:38:39 +0000 (17:38 +0000)
commit011fd002457da0823da5f06b099fcf6e21444b00
tree3fcd34d47a2134cc69bec9f121ed834484eb21e7
parentfbdf83072c413943ccbd3b556654276126117463
sync: remove TestWaitGroupMisuse2 and TestWaitGroupMisuse3

These tests are inherently nondeterministic: They exercise a racy
code path for up to one million iterations, and require that an
error occur at least once.

TestWaitGroupMisuse2 in particular is an ongoing source of trybot
flakiness.

Fixes #38163.

Change-Id: Ibbbda2c998c915333487ad262d3df6829de01c2b
Reviewed-on: https://go-review.googlesource.com/c/go/+/340249
Trust: Damien Neil <dneil@google.com>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
src/sync/waitgroup_test.go