Merge pull request #6761 from sayboras/bugfix/issue-6742
Fix TestDownloadOnly integration testpull/6730/head
commit
f6835a66a4
|
@ -54,7 +54,7 @@ func TestDownloadOnly(t *testing.T) {
|
||||||
t.Run(v, func(t *testing.T) {
|
t.Run(v, func(t *testing.T) {
|
||||||
// Explicitly does not pass StartArgs() to test driver default
|
// Explicitly does not pass StartArgs() to test driver default
|
||||||
// --force to avoid uid check
|
// --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
|
// Preserve the initial run-result for debugging
|
||||||
if rrr == nil {
|
if rrr == nil {
|
||||||
|
@ -69,7 +69,7 @@ func TestDownloadOnly(t *testing.T) {
|
||||||
|
|
||||||
imgs, err := images.Kubeadm("", v)
|
imgs, err := images.Kubeadm("", v)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("kubeadm images: %v", v)
|
t.Errorf("kubeadm images: %v %+v", v, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, img := range imgs {
|
for _, img := range imgs {
|
||||||
|
|
Loading…
Reference in New Issue