diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2013-08-08 00:04:28 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2013-08-08 00:04:28 +0400 |
| commit | 1590abef0371ffa5b37a760b7cde74e2d5f18d2f (patch) | |
| tree | 95caff4827c4af27ff5fb24ce28a7344db8124f5 /src/pkg/runtime | |
| parent | 73c93a404c16550ab1993aab1ce4a9b90c6f5772 (diff) | |
| download | go-1590abef0371ffa5b37a760b7cde74e2d5f18d2f.tar.xz | |
runtime: do not run TestCgoSignalDeadlock on windows in short mode
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
Diffstat (limited to 'src/pkg/runtime')
| -rw-r--r-- | src/pkg/runtime/crash_cgo_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/runtime/crash_cgo_test.go b/src/pkg/runtime/crash_cgo_test.go index 8ccea8f37c..d61de4469f 100644 --- a/src/pkg/runtime/crash_cgo_test.go +++ b/src/pkg/runtime/crash_cgo_test.go @@ -7,6 +7,7 @@ package runtime_test import ( + "runtime" "testing" ) @@ -15,6 +16,9 @@ func TestCgoCrashHandler(t *testing.T) { } 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 { |
