mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
This flaky test fails on s390x due to it taking too long. See [this issue][0] for more details why. [0]:https://github.com/golang/go/issues/20072
20 lines
578 B
Diff
20 lines
578 B
Diff
diff --git a/src/sync/waitgroup_test.go b/src/sync/waitgroup_test.go
|
|
index 4ab438c..5f4fc80 100644
|
|
--- a/src/sync/waitgroup_test.go
|
|
+++ b/src/sync/waitgroup_test.go
|
|
@@ -10,6 +10,7 @@ import (
|
|
. "sync"
|
|
"sync/atomic"
|
|
"testing"
|
|
+ "internal/testenv"
|
|
)
|
|
|
|
func testWaitGroup(t *testing.T, wg1 *WaitGroup, wg2 *WaitGroup) {
|
|
@@ -84,6 +85,7 @@ func pollUntilEqual(v *uint32, target uint32) {
|
|
}
|
|
|
|
func TestWaitGroupMisuse2(t *testing.T) {
|
|
+ testenv.SkipFlaky(t, 20072)
|
|
knownRacy(t)
|
|
if runtime.NumCPU() <= 4 {
|
|
t.Skip("NumCPU<=4, skipping: this test requires parallelism")
|