We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39bc186 commit 57252baCopy full SHA for 57252ba
test/integration/main_test.go
@@ -57,7 +57,9 @@ const (
57
func TestMain(m *testing.M) {
58
flag.Parse()
59
setMaxParallelism()
60
-
+ if NeedsAuxDriver() {
61
+ *startArgs += " --auto-update-drivers=false"
62
+ }
63
start := time.Now()
64
code := m.Run()
65
fmt.Printf("Tests completed in %s (result code %d)\n", time.Since(start), code)
@@ -170,8 +172,8 @@ func KicDriver() bool {
170
172
return DockerDriver() || PodmanDriver()
171
173
}
174
-// Returns true if the driver needs an auxiliary driver (kvm, hyperkit,..)
-func DriverHasAuxDriver() bool {
175
+// NeedsAuxDriver Returns true if the driver needs an auxiliary driver (kvm, hyperkit,..)
176
+func NeedsAuxDriver() bool {
177
return HyperVDriver() || KVMDriver()
178
179
0 commit comments