diff --git a/test/integration/flags.go b/test/integration/flags.go index 44cb32f8a29b..4dafed04a540 100644 --- a/test/integration/flags.go +++ b/test/integration/flags.go @@ -22,6 +22,8 @@ import ( "strings" "testing" + // initflag must be imported before any other minikube pkg. + // Fix for https://github.com/kubernetes/minikube/issues/4866 _ "k8s.io/minikube/pkg/initflag" "k8s.io/minikube/test/integration/util"