Skip to content

Commit

Permalink
chore: adjust delay
Browse files Browse the repository at this point in the history
Signed-off-by: ShutingZhao <[email protected]>
  • Loading branch information
realshuting committed Sep 13, 2023
1 parent bf1fe27 commit 3226228
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: sleep 5
- command: sleep 3
- script: |
annotation=$(kubectl get pod pod01 -n refresh-vols-ns -o json | kyverno jp query "metadata.annotations.\"corp.org/random\" || '' " | tail -n 1 | cut -d '"' -f 2)
if [ "$annotation" = "" ]; then exit 1; else exit 0; fi
Expand Down
2 changes: 1 addition & 1 deletion other/rec-req/refresh-volumes-in-pods/05-check.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: sleep 3
- command: sleep 5
- script: |
val=$(kubectl exec pod01 -n refresh-vols-ns -- cat /mnt/foo/foo)
if [ "$val" = "bar" ]; then exit 0; else exit 1; fi
Expand Down

0 comments on commit 3226228

Please sign in to comment.