From 4f6f68ee4b50162d3bd01efb9b8a5f6a10dc54af Mon Sep 17 00:00:00 2001 From: Patrik Nyblom Date: Wed, 12 Jan 2022 17:50:55 -0800 Subject: [PATCH] testing: skip flaky TestRaiseException on windows-amd64-2012 This is in relation to #49681 Change-Id: I32ad8b506cf8fb0a94b15c3cc8b1eaf5af728c59 Reviewed-on: https://go-review.googlesource.com/c/go/+/378254 Run-TryBot: Patrik Nyblom TryBot-Result: Gopher Robot Reviewed-by: Bryan Mills Trust: Patrik Nyblom --- src/runtime/syscall_windows_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/syscall_windows_test.go b/src/runtime/syscall_windows_test.go index dcd390ff9d..034a1d84db 100644 --- a/src/runtime/syscall_windows_test.go +++ b/src/runtime/syscall_windows_test.go @@ -628,6 +628,9 @@ func TestOutputDebugString(t *testing.T) { } func TestRaiseException(t *testing.T) { + if testenv.Builder() == "windows-amd64-2012" { + testenv.SkipFlaky(t, 49681) + } o := runTestProg(t, "testprog", "RaiseException") if strings.Contains(o, "RaiseException should not return") { t.Fatalf("RaiseException did not crash program: %v", o) -- 2.50.0