]> Cypherpunks repositories - gostls13.git/commitdiff
testing: skip flaky TestRaiseException on windows-amd64-2012
authorPatrik Nyblom <pnyb@google.com>
Thu, 13 Jan 2022 01:50:55 +0000 (17:50 -0800)
committerPatrik Nyblom <pnyb@google.com>
Thu, 13 Jan 2022 23:04:22 +0000 (23:04 +0000)
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>

src/runtime/syscall_windows_test.go

index dcd390ff9d4226cbdaaaa73e875ba79529d14212..034a1d84db39afe598660b46cc762b1fb5a3d674 100644 (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)