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 <pnyb@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: Patrik Nyblom <pnyb@google.com>
This commit is contained in:
Patrik Nyblom 2022-01-12 17:50:55 -08:00
parent 899d19ac83
commit 4f6f68ee4b
1 changed files with 3 additions and 0 deletions

View File

@ -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)