From facce197b1882f5d955c0238c6b74db53a73cf0a Mon Sep 17 00:00:00 2001 From: Katharine Berry Date: Fri, 31 Aug 2018 16:04:48 -0700 Subject: [PATCH] Update stale comment. --- hack/lib/golang.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index 04ec4874db8..e5b3b35425d 100755 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -488,7 +488,8 @@ func TestMain(m *testing.M) { // Make sure we actually write the profiling information to disk, if we make it here. // On long-running services, or anything that calls os.Exit(), this is insufficient, - // so be sure to call this from inside the binary too. + // so we also flush periodically with a default period of five seconds (configurable by + // the KUBE_COVERAGE_FLUSH_INTERVAL environment variable). coverage.FlushCoverage() } EOF