Skip to content

Commit 9185d4e

Browse files
committed
Add a timeout to a e2e job, so we can fetch logs
1 parent b91967e commit 9185d4e

File tree

1 file changed

+2
-0
lines changed
  • tests/playbooks/roles/install-csi-cinder/tasks

1 file changed

+2
-0
lines changed

tests/playbooks/roles/install-csi-cinder/tasks/main.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@
180180
-report-dir="/var/log/csi-pod" | tee "/var/log/csi-pod/cinder-csi-e2e.log"
181181
register: functional_test_result
182182
ignore_errors: true
183+
async: 5400 # wait 1h30m then fail and fetch the logs
184+
poll: 15
183185

184186
- name: Collect pod logs for debug purpose
185187
shell:

0 commit comments

Comments
 (0)