Skip to content

Commit

Permalink
Update e2e test controller log location
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Rakers <[email protected]>
  • Loading branch information
hrak committed Oct 2, 2023
1 parent 0684167 commit 47afdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/invalid_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 47afdc5

Please sign in to comment.