From 19d39800dd65b8a0fb043901ffb6b090316806bc Mon Sep 17 00:00:00 2001 From: sayboras Date: Sun, 23 Feb 2020 13:34:34 +1100 Subject: [PATCH] Add StartArguments in the command --- test/integration/aaa_download_only_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/aaa_download_only_test.go b/test/integration/aaa_download_only_test.go index 293ca11884..4f0bc09141 100644 --- a/test/integration/aaa_download_only_test.go +++ b/test/integration/aaa_download_only_test.go @@ -54,7 +54,7 @@ func TestDownloadOnly(t *testing.T) { t.Run(v, func(t *testing.T) { // Explicitly does not pass StartArgs() to test driver default // --force to avoid uid check - args := []string{"start", "--download-only", "-p", profile, "--force", "--alsologtostderr", fmt.Sprintf("--kubernetes-version=%s", v)} + args := append([]string{"start", "--download-only", "-p", profile, "--force", "--alsologtostderr", fmt.Sprintf("--kubernetes-version=%s", v)}, StartArgs()...) // Preserve the initial run-result for debugging if rrr == nil { @@ -69,7 +69,7 @@ func TestDownloadOnly(t *testing.T) { imgs, err := images.Kubeadm("", v) if err != nil { - t.Errorf("kubeadm images: %v", v) + t.Errorf("kubeadm images: %v %+v", v, err) } for _, img := range imgs {