]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: skip TestNoShrinkStackWhileParking on openbsd
authorDmitri Shuralyov <dmitshur@golang.org>
Wed, 20 Apr 2022 16:46:17 +0000 (12:46 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 22 Apr 2022 17:22:12 +0000 (17:22 +0000)
The test has proven to be flaky on OpenBSD since March, and there
hasn't been progress on resolving this finding. Mark the test as
flaky to so that this problem doesn't block the Go 1.19 release.

Updates #51482.

Change-Id: I92ad7498c20cfa94565880363bec85f9a4f3e916
Reviewed-on: https://go-review.googlesource.com/c/go/+/401335
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/chan_test.go

index a8627e98988921be59e5ce2430102d4b0173dced..256f97676ed55c1419e82ca73438a13fd84e0172 100644 (file)
@@ -629,6 +629,9 @@ func TestNoShrinkStackWhileParking(t *testing.T) {
        if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm64" {
                testenv.SkipFlaky(t, 49382)
        }
+       if runtime.GOOS == "openbsd" {
+               testenv.SkipFlaky(t, 51482)
+       }
 
        // The goal of this test is to trigger a "racy sudog adjustment"
        // throw. Basically, there's a window between when a goroutine