Merge pull request #109697 from BenTheElder/fix-coverage-go118

fix e2e coverage package for go 1.18
This commit is contained in:
Kubernetes Prow Robot
2022-05-04 21:18:19 -07:00
committed by GitHub

View File

@@ -78,10 +78,11 @@ func FlushCoverage() {
tests := []testing.InternalTest{}
benchmarks := []testing.InternalBenchmark{}
examples := []testing.InternalExample{}
fuzztargets := []testing.InternalFuzzTarget{}
var deps fakeTestDeps
dummyRun := testing.MainStart(deps, tests, benchmarks, examples)
dummyRun := testing.MainStart(deps, tests, fuzztargets, benchmarks, examples)
dummyRun.Run()
// Once it writes to the temporary path, we move it to the intended path.