未验证 提交 f0efbecc 编写于 作者: M Medya Ghazizadeh 提交者: GitHub

Merge pull request #8308 from sharifelgamal/soft-start

exit out of the soft start test if we can't find old config
...@@ -242,7 +242,7 @@ func validateSoftStart(ctx context.Context, t *testing.T, profile string) { ...@@ -242,7 +242,7 @@ func validateSoftStart(ctx context.Context, t *testing.T, profile string) {
// the test before this had been start with --apiserver-port=8441 // the test before this had been start with --apiserver-port=8441
beforeCfg, err := config.LoadProfile(profile) beforeCfg, err := config.LoadProfile(profile)
if err != nil { if err != nil {
t.Errorf("error reading cluster config before soft start: %v", err) t.Fatalf("error reading cluster config before soft start: %v", err)
} }
if beforeCfg.Config.KubernetesConfig.NodePort != apiPortTest { if beforeCfg.Config.KubernetesConfig.NodePort != apiPortTest {
t.Errorf("expected cluster config node port before soft start to be %d but got %d", apiPortTest, beforeCfg.Config.KubernetesConfig.NodePort) t.Errorf("expected cluster config node port before soft start to be %d but got %d", apiPortTest, beforeCfg.Config.KubernetesConfig.NodePort)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册