From 47afdc5817b74f53e3646cb797f3996d4b88d917 Mon Sep 17 00:00:00 2001 From: Hans Rakers Date: Fri, 29 Sep 2023 17:12:30 +0200 Subject: [PATCH] Update e2e test controller log location Signed-off-by: Hans Rakers --- test/e2e/invalid_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/invalid_resource.go b/test/e2e/invalid_resource.go index 2f56c71c..912f969a 100644 --- a/test/e2e/invalid_resource.go +++ b/test/e2e/invalid_resource.go @@ -216,7 +216,7 @@ func generateClusterName() string { // it is generated randomly per test case. func errorExistsInLog(logFolder string, expectedError string) (bool, error) { expectedErrorFound := errors.New("expected error found") - controllerLogPath := filepath.Join(logFolder, "controllers", "capc-controller-manager") + controllerLogPath := filepath.Join(logFolder, "logs/capc-system/capc-controller-manager") err := filepath.Walk(controllerLogPath, func(path string, info os.FileInfo, err error) error { if err != nil {