Skip to content

Commit

Permalink
Merge "Allow overridding OS_TEST_TIMEOUT via the role variables"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Sep 7, 2019
2 parents 6cdbfe2 + 5952f85 commit 8d1b365
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/run-tempest/README.rst
Expand Up @@ -67,3 +67,8 @@ Run Tempest
::
vars:
tox_extra_args: --sitepackages

.. zuul:rolevar:: tempest_test_timeout
:default: ''

The timeout (in seconds) for each test.
1 change: 1 addition & 0 deletions roles/run-tempest/defaults/main.yaml
Expand Up @@ -3,3 +3,4 @@ tempest_test_regex: ''
tox_envlist: smoke
tempest_black_regex: ''
tox_extra_args: ''
tempest_test_timeout: ''
1 change: 1 addition & 0 deletions roles/run-tempest/tasks/main.yaml
Expand Up @@ -42,3 +42,4 @@
chdir: "{{devstack_base_dir}}/tempest"
become: true
become_user: tempest
environment: '{{ {"OS_TEST_TIMEOUT": tempest_test_timeout} if tempest_test_timeout else {} }}'

0 comments on commit 8d1b365

Please sign in to comment.