diff --git a/test/integration/main_test.go b/test/integration/main_test.go index 2f862c1dc8..e2dc3b9565 100644 --- a/test/integration/main_test.go +++ b/test/integration/main_test.go @@ -57,7 +57,9 @@ const ( func TestMain(m *testing.M) { flag.Parse() setMaxParallelism() - + if NeedsAuxDriver() { + *startArgs += " --auto-update-drivers=false" + } start := time.Now() code := m.Run() fmt.Printf("Tests completed in %s (result code %d)\n", time.Since(start), code) @@ -170,8 +172,8 @@ func KicDriver() bool { return DockerDriver() || PodmanDriver() } -// Returns true if the driver needs an auxiliary driver (kvm, hyperkit,..) -func DriverHasAuxDriver() bool { +// NeedsAuxDriver Returns true if the driver needs an auxiliary driver (kvm, hyperkit,..) +func NeedsAuxDriver() bool { return HyperVDriver() || KVMDriver() }