diff options
| author | Austin Clements <austin@google.com> | 2015-08-05 11:35:28 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2015-09-30 19:24:07 +0000 |
| commit | e01be84149b8189a58815ab75a86984e58d203e2 (patch) | |
| tree | 1252c51185f97d7745e6fbd4889ae9b3f5861ac7 /src/encoding/binary/binary_test.go | |
| parent | 829cc349c5990ecba52141bd978a99ee1571bc08 (diff) | |
| download | go-e01be84149b8189a58815ab75a86984e58d203e2.tar.xz | |
runtime: test that periodic GC works
We've broken periodic GC a few times without noticing because there's
no test for it, partly because you have to wait two minutes to see if
it happens. This exposes control of the periodic GC timeout to runtime
tests and adds a test that cranks it down to zero and sleeps for a bit
to make sure periodic GCs happen.
Change-Id: I3ec44e967e99f4eda752f85c329eebd18b87709e
Reviewed-on: https://go-review.googlesource.com/13169
Reviewed-by: Rick Hudson <rlh@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
Diffstat (limited to 'src/encoding/binary/binary_test.go')
0 files changed, 0 insertions, 0 deletions
