提交 94c64019 编写于 作者: S Sharif Elgamal

exit out of the soft start test if we can't find old config

上级 77419ee9
......@@ -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
beforeCfg, err := config.LoadProfile(profile)
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 {
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.
先完成此消息的编辑!
想要评论请 注册