From 682c3d183a0911c207a7eeea2cdd22704e47bcf7 Mon Sep 17 00:00:00 2001 From: rcmadhankumar Date: Fri, 20 Oct 2023 19:23:19 +0530 Subject: [PATCH] fix --- test/e2e/ignore_failing_api_services_flag_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/e2e/ignore_failing_api_services_flag_test.go b/test/e2e/ignore_failing_api_services_flag_test.go index ef8cf746b..db81ad3d2 100644 --- a/test/e2e/ignore_failing_api_services_flag_test.go +++ b/test/e2e/ignore_failing_api_services_flag_test.go @@ -134,7 +134,10 @@ metadata: fmt.Printf(" \n =========> Out: %+v", out) fmt.Printf("\n ==========> err: %+v", err) - out, err = kubectl.RunWithOpts([]string{"apply", "-f", "-"}, RunOpts{ + // out, err = kubectl.RunWithOpts([]string{"apply", "-f", "-"}, RunOpts{ + // AllowError: true, IntoNs: true, StdinReader: strings.NewReader(yaml3)}) + + out, err = kapp.RunWithOpts([]string{"deploy", "-f", "-", "-a", name3}, RunOpts{ AllowError: true, IntoNs: true, StdinReader: strings.NewReader(yaml3)}) fmt.Printf(" \n =========> Out: %+v", out)