diff --git a/infrared_plugin/plugin.spec b/infrared_plugin/plugin.spec index 1a9a70656..3c147e049 100644 --- a/infrared_plugin/plugin.spec +++ b/infrared_plugin/plugin.spec @@ -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: diff --git a/roles/tobiko-configure/defaults/main.yaml b/roles/tobiko-configure/defaults/main.yaml index 6cf238062..e90dcc3b7 100644 --- a/roles/tobiko-configure/defaults/main.yaml +++ b/roles/tobiko-configure/defaults/main.yaml @@ -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' diff --git a/zuul.d/devstack.yaml b/zuul.d/devstack.yaml index 66f33d76d..259e20e65 100644 --- a/zuul.d/devstack.yaml +++ b/zuul.d/devstack.yaml @@ -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'