Skip to content

Commit

Permalink
fix(e2e): add catch to catch kerberos err
Browse files Browse the repository at this point in the history
  • Loading branch information
whg517 committed Sep 26, 2024
1 parent a2ea1ea commit ed698f9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
17 changes: 17 additions & 0 deletions test/e2e/kerberos/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,20 @@ spec:
cleanup:
- sleep:
duration: 10s
catch:
- sleep:
duration: 5s
- script:
env:
- name: NAMESPACE
value: ($namespace)
content: |
set -ex
kubectl -n $NAMESPACE get pods
- describe:
apiVersion: v1
kind: Pod
selector: app.kubernetes.io/managed-by=hbase-operator
- podLogs:
selector: app.kubernetes.io/managed-by=hbase-operator
tail: -1
4 changes: 0 additions & 4 deletions test/e2e/kerberos/hbase-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ spec:
containers:
- name: hbase-init-dir
image: quay.io/zncdatadev/hadoop:3.3.4
resources:
limits:
memory: "128Mi"
cpu: "300m"
env:
- name: KRB5_CONFIG
value: /kubedoop/kerberos/krb5.conf
Expand Down

0 comments on commit ed698f9

Please sign in to comment.