Skip to content

Commit

Permalink
test(e2e): fix catch syntex err
Browse files Browse the repository at this point in the history
  • Loading branch information
whg517 committed Dec 31, 2024
1 parent 7f634c9 commit 22d2b28
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/e2e/krb5/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ spec:
file: pod-scope.yaml
- assert:
file: pod-scope-assert.yaml
- catch:
- script:
env:
- name: NAMESPACE
value: ($namespace)
content: |
kubectl -n "$NAMESPACE" get pod
kubectl -n "$NAMESPACE" describe pod
- catch:
- script:
env:
- name: NAMESPACE
value: ($namespace)
content: |
kubectl -n "$NAMESPACE" get pod
kubectl -n "$NAMESPACE" describe pod

0 comments on commit 22d2b28

Please sign in to comment.