mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
fix e2e coverage package for go 1.18
This commit is contained in:
parent
537941765f
commit
5d8f6f1213
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user