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:
parent
e4d3d21b1a
commit
c7d56d0213
@ -121,6 +121,10 @@ subparsers:
|
|||||||
help: enable/disable verbose log entries in tests results log file
|
help: enable/disable verbose log entries in tests results log file
|
||||||
ansible_variable: test_log_debug
|
ansible_variable: test_log_debug
|
||||||
default: yes
|
default: yes
|
||||||
|
test-case-timeout:
|
||||||
|
type: Value
|
||||||
|
help: Test case timeout in seconds
|
||||||
|
ansible_variable: test_case_timeout
|
||||||
|
|
||||||
- title: Run stage
|
- title: Run stage
|
||||||
options:
|
options:
|
||||||
|
@ -6,7 +6,12 @@ test_default_conf:
|
|||||||
log_dir: "{{ test_log_file | dirname }}"
|
log_dir: "{{ test_log_file | dirname }}"
|
||||||
log_file: "{{ test_log_file | basename }}"
|
log_file: "{{ test_log_file | basename }}"
|
||||||
|
|
||||||
|
testcase:
|
||||||
|
timeout: "{{ test_case_timeout }}"
|
||||||
|
|
||||||
test_log_debug: false
|
test_log_debug: false
|
||||||
|
|
||||||
|
test_case_timeout: 7200.
|
||||||
|
|
||||||
# OpenStack client credentials
|
# OpenStack client credentials
|
||||||
stackrc_file: '{{ ansible_user_dir }}/overcloudrc'
|
stackrc_file: '{{ ansible_user_dir }}/overcloudrc'
|
||||||
|
@ -70,6 +70,7 @@
|
|||||||
yaml: true
|
yaml: true
|
||||||
yml: true
|
yml: true
|
||||||
test_log_debug: true
|
test_log_debug: true
|
||||||
|
test_case_timeout: 1800
|
||||||
tobiko_dir: '/opt/stack/tobiko'
|
tobiko_dir: '/opt/stack/tobiko'
|
||||||
upper_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'
|
upper_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user