From 57252bace6bdcb07042dab657201b71a3033e93f Mon Sep 17 00:00:00 2001 From: Medya Ghazizadeh Date: Mon, 15 Sep 2025 14:23:51 -0700 Subject: [PATCH] test: disable aux driver auto update when kvm or hyperkit --- test/integration/main_test.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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() }