Configure CI test cases timeouts

Set following default CI timeouts:
- 30 minutes for DevStack jobs
- 2 hours for IR plugin

Change-Id: I202bb5a6896817043b2514e591cc1ae37be7bf8f
This commit is contained in:
Federico Ressi 2020-08-21 14:49:16 +02:00
parent e4d3d21b1a
commit c7d56d0213
3 changed files with 10 additions and 0 deletions

View File

@ -121,6 +121,10 @@ subparsers:
help: enable/disable verbose log entries in tests results log file
ansible_variable: test_log_debug
default: yes
test-case-timeout:
type: Value
help: Test case timeout in seconds
ansible_variable: test_case_timeout
- title: Run stage
options:

View File

@ -6,7 +6,12 @@ test_default_conf:
log_dir: "{{ test_log_file | dirname }}"
log_file: "{{ test_log_file | basename }}"
testcase:
timeout: "{{ test_case_timeout }}"
test_log_debug: false
test_case_timeout: 7200.
# OpenStack client credentials
stackrc_file: '{{ ansible_user_dir }}/overcloudrc'

View File

@ -70,6 +70,7 @@
yaml: true
yml: true
test_log_debug: true
test_case_timeout: 1800
tobiko_dir: '/opt/stack/tobiko'
upper_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'