Skip to content

Commit

Permalink
Add a timeout to a e2e job, so we can fetch logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kayrus committed Oct 16, 2024
1 parent 2c4c5f3 commit b175db6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/playbooks/roles/install-csi-cinder/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@
-report-dir="/var/log/csi-pod" | tee "/var/log/csi-pod/cinder-csi-e2e.log"
register: functional_test_result
ignore_errors: true
async: 3600 # wait 1 hour timeout then fetch the logs
poll: 5

- name: Collect pod logs for debug purpose
shell:
Expand Down

0 comments on commit b175db6

Please sign in to comment.