- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for FlushCoverage (0.14 sec)
-
pkg/util/coverage/coverage_disabled.go
// InitCoverage is illegal when not running with coverage. func InitCoverage(name string) { panic("Called InitCoverage when not built with coverage instrumentation.") } // FlushCoverage is a no-op when not running with coverage. func FlushCoverage() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 888 bytes - Viewed (0) -
pkg/util/coverage/coverage.go
// Begin periodic logging go wait.Forever(FlushCoverage, flushInterval) } // FlushCoverage flushes collected coverage information to disk. // The destination file is configured at startup and cannot be changed. // Calling this function also sends a line like "coverage: 5% of statements" to stdout. func FlushCoverage() { // We're not actually going to run any tests, but we need Go to think we did so it writes
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 21:00:21 UTC 2022 - 3.2K bytes - Viewed (0) -
hack/lib/golang.sh
// so we also flush periodically with a default period of five seconds (configurable by // the KUBE_COVERAGE_FLUSH_INTERVAL environment variable). coverage.FlushCoverage() } EOF } # Argument: the name of a Kubernetes package (e.g. k8s.io/kubernetes/cmd/kube-scheduler). # Deletes a test generated by kube::golang::create_coverage_dummy_test.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 16:43:08 UTC 2024 - 32.8K bytes - Viewed (0)