]> Cypherpunks repositories - gostls13.git/commitdiff
context: disable more flaky tests on openbsd
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 8 Apr 2016 17:50:03 +0000 (17:50 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 8 Apr 2016 18:39:11 +0000 (18:39 +0000)
Updates #15158

Change-Id: Icb3788152a7a5a9b0d56ea38da46d770ffdce413
Reviewed-on: https://go-review.googlesource.com/21763
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/context/context_test.go

index 74af9a301caccaab7364f43d343e788127860e71..573470e0840949457f68922d0cd8bb7318429d33 100644 (file)
@@ -494,6 +494,9 @@ func TestLayersTimeout(t *testing.T) {
 }
 
 func testLayers(t *testing.T, seed int64, testTimeout bool) {
+       if runtime.GOOS == "openbsd" {
+               testenv.SkipFlaky(t, 15158)
+       }
        rand.Seed(seed)
        errorf := func(format string, a ...interface{}) {
                t.Errorf(fmt.Sprintf("seed=%d: %s", seed, format), a...)