Skip to content

Commit

Permalink
Updated 022 test step 4 verification
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Cai <[email protected]>
  • Loading branch information
ciiay committed Jun 8, 2023
1 parent c271300 commit 5cf1951
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/k8s/1-022_validate_notifications/04-delete-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ commands:
kubectl delete -n $NAMESPACE application.argoproj.io my-app-3
- script: sleep 5
- script: |
! kubectl get -n $NAMESPACE application.argoproj.io my-app-3
output=$(kubectl get -n $NAMESPACE application.argoproj.io my-app-3 --no-headers 2>/dev/null)
if [ -n "$output" ]; then
echo "my-app-3 still exists"
exit 1
fi

0 comments on commit 5cf1951

Please sign in to comment.