diff options
-rw-r--r-- | src/runtime/gc_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/gc_test.go b/src/runtime/gc_test.go index 4a32f15167..342010b1d5 100644 --- a/src/runtime/gc_test.go +++ b/src/runtime/gc_test.go @@ -169,7 +169,7 @@ func TestPeriodicGC(t *testing.T) { // slack if things are slow. var numGCs uint32 const want = 2 - for i := 0; i < 20 && numGCs < want; i++ { + for i := 0; i < 200 && numGCs < want; i++ { time.Sleep(5 * time.Millisecond) // Test that periodic GC actually happened. |