Commit 6a48019e authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

runtime/debug: mark TestSetGCPercent as flaky

Updates #20076

Change-Id: I4eb98abbb49174cc6433e5da2c3660893ef88fd1
Reviewed-on: https://go-review.googlesource.com/41615
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: default avatarJosh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 22f1b56d
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment