The test takes up to 64 seconds on windows builders.
I've tried to reduce number of iterations in the test,
but it does not affect run time.
Fixes #6054.
R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/
12531043
package runtime_test
import (
+ "runtime"
"testing"
)
}
func TestCgoSignalDeadlock(t *testing.T) {
+ if testing.Short() && runtime.GOOS == "windows" {
+ t.Skip("Skipping in short mode") // takes up to 64 seconds
+ }
got := executeTest(t, cgoSignalDeadlockSource, nil)
want := "OK\n"
if got != want {