diff --git a/test/integration/functional_test.go b/test/integration/functional_test.go index 3c7371cc9622680c38e0a73a16e151d25db7335a..9397ee542457e5db76466a786440e913dcdcb608 100644 --- a/test/integration/functional_test.go +++ b/test/integration/functional_test.go @@ -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)