Merge pull request #6761 from sayboras/bugfix/issue-6742

Fix TestDownloadOnly integration test
pull/6730/head
Medya Ghazizadeh 2020-02-22 19:28:33 -08:00 committed by GitHub
commit f6835a66a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 {