]> Cypherpunks.ru repositories - gostls13.git/commitdiff
runtime: skip TestG0StackOverflow on iOS
authorCherry Mui <cherryyz@google.com>
Fri, 15 Sep 2023 23:57:36 +0000 (19:57 -0400)
committerCherry Mui <cherryyz@google.com>
Mon, 18 Sep 2023 15:14:53 +0000 (15:14 +0000)
Apparently it falls into infinite printing loop. Skipping for now.
Will investigate.

For #62671.

Change-Id: I5be8e8c1d0f4f2eaa231d6bcdfe13e7f08c28b98
Reviewed-on: https://go-review.googlesource.com/c/go/+/528403
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: Bryan Mills <bcmills@google.com>

src/runtime/crash_test.go

index 38ff6020965a1fb57620a882a1572ac4c8ba888b..8dd95a44af7ac556aea18b70e93b47694b8cae3d 100644 (file)
@@ -792,6 +792,10 @@ func TestRuntimePanic(t *testing.T) {
 func TestG0StackOverflow(t *testing.T) {
        testenv.MustHaveExec(t)
 
+       if runtime.GOOS == "ios" {
+               testenv.SkipFlaky(t, 62671)
+       }
+
        if os.Getenv("TEST_G0_STACK_OVERFLOW") != "1" {
                cmd := testenv.CleanCmdEnv(exec.Command(os.Args[0], "-test.run=^TestG0StackOverflow$", "-test.v"))
                cmd.Env = append(cmd.Env, "TEST_G0_STACK_OVERFLOW=1")