]> Cypherpunks repositories - gostls13.git/commitdiff
testing: skip flaky TestRaiseException on windows-amd64-2012-*
authorThan McIntosh <thanm@google.com>
Mon, 21 Nov 2022 16:01:53 +0000 (11:01 -0500)
committerGopher Robot <gobot@golang.org>
Mon, 21 Nov 2022 16:27:03 +0000 (16:27 +0000)
Modify skip rule for TestRaiseException to trigger on both the base
builder (windows-amd64-2012) and the newcc canary builder
(windows-amd64-2012-newcc).

Updates #49681.

Change-Id: I132f9ddd102666b68ad04cc661fdcc2cd841051a
Reviewed-on: https://go-review.googlesource.com/c/go/+/451294
Auto-Submit: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/runtime/syscall_windows_test.go

index c0d3379e65ad6a7bd7664c72a41a035aabe9574f..f38316a8093a313c2dfa4499b495849e2bdcb743 100644 (file)
@@ -628,7 +628,7 @@ func TestOutputDebugString(t *testing.T) {
 }
 
 func TestRaiseException(t *testing.T) {
-       if testenv.Builder() == "windows-amd64-2012" {
+       if strings.HasPrefix(testenv.Builder(), "windows-amd64-2012") {
                testenv.SkipFlaky(t, 49681)
        }
        o := runTestProg(t, "testprog", "RaiseException")