]> Cypherpunks repositories - gostls13.git/commit
runtime: move TestGcSys into a separate process
authorDmitriy Vyukov <dvyukov@google.com>
Sat, 2 Mar 2013 06:36:06 +0000 (08:36 +0200)
committerDmitriy Vyukov <dvyukov@google.com>
Sat, 2 Mar 2013 06:36:06 +0000 (08:36 +0200)
commit46890f60cee89ffef7a9b5f2b8d5e263650f61f7
tree9bef75d7e48370dceee80254f859ccc6ccb2dffa
parentfd9049f40417781f2dca9435b03d86b1f2b96a0d
runtime: move TestGcSys into a separate process
Fixes #4904.
The problem was that when the test runs the heap had grown to ~100MB,
so GC allows it to grow to 200MB, and so the test fails.
Moving the test to a separate process makes it much more isolated and stable.

R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/7441046
src/pkg/runtime/gc_test.go