Fix minikube start args for integration tests (#4885)

I've been seeing errors like `Error running command: -p=TestPersistence start --vm-driver=hyperv --hyperv-virtual-switch=primary-virtual-switch --bootstrapper=kubeadm--wait=false --v=10 --logtostderr  --alsologtostderr --v=2 . Output: * minikube v1.2.0 on windows (amd64)` in my hyperV testing which means we need an extra space here.
pull/4786/head
Sharif Elgamal 2019-07-29 13:14:40 -07:00 committed by GitHub
parent 128bdfbe27
commit 2bca6dccac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ var testdataDir = flag.String("testdata-dir", "testdata", "the directory relativ
func NewMinikubeRunner(t *testing.T, extraArgs ...string) util.MinikubeRunner {
return util.MinikubeRunner{
BinaryPath: *binaryPath,
StartArgs: *startArgs + strings.Join(extraArgs, " "),
StartArgs: *startArgs + " " + strings.Join(extraArgs, " "),
GlobalArgs: *globalArgs,
MountArgs: *mountArgs,
T: t,