From 604efe128195c1fbb1d14cbd36bf681fcff723a3 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Wed, 17 Aug 2016 16:22:24 -0700 Subject: [PATCH] runtime: disable TestCgoCallbackGC on FreeBSD The trybot flakes are a nuisance. Updates #16396 Change-Id: I8202adb554391676ba82bca44d784c6a81bf2085 Reviewed-on: https://go-review.googlesource.com/27313 Run-TryBot: Josh Bleecher Snyder TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- src/runtime/crash_cgo_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go index 2504bd0f41..534b9f8b5a 100644 --- a/src/runtime/crash_cgo_test.go +++ b/src/runtime/crash_cgo_test.go @@ -42,8 +42,11 @@ func TestCgoTraceback(t *testing.T) { } func TestCgoCallbackGC(t *testing.T) { - if runtime.GOOS == "plan9" || runtime.GOOS == "windows" { + switch runtime.GOOS { + case "plan9", "windows": t.Skipf("no pthreads on %s", runtime.GOOS) + case "freebsd": + testenv.SkipFlaky(t, 16396) } if testing.Short() { switch { -- 2.48.1