提交 19d39800 编写于 作者: S sayboras

Add StartArguments in the command

上级 c64ca54f
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册