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 Nov 13, 2024
1 parent 78e7312 commit f9b5c9b
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: 5400 # wait 1h30m then fail and fetch the logs
poll: 15

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

0 comments on commit f9b5c9b

Please sign in to comment.