]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/debug: mark TestSetGCPercent as flaky
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 24 Apr 2017 21:50:33 +0000 (21:50 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 24 Apr 2017 22:11:58 +0000 (22:11 +0000)
Updates #20076

Change-Id: I4eb98abbb49174cc6433e5da2c3660893ef88fd1
Reviewed-on: https://go-review.googlesource.com/41615
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/runtime/debug/garbage_test.go

index 2110f908243007452ae1dae82fb3c07a191504a5..69e769ecf29d382f42a8fe417746afa952ab46af 100644 (file)
@@ -5,6 +5,7 @@
 package debug_test
 
 import (
+       "internal/testenv"
        "runtime"
        . "runtime/debug"
        "testing"
@@ -110,6 +111,8 @@ var (
 )
 
 func TestSetGCPercent(t *testing.T) {
+       testenv.SkipFlaky(t, 20076)
+
        // Test that the variable is being set and returned correctly.
        old := SetGCPercent(123)
        new := SetGCPercent(old)