Browse Source

Merge "Allow overridding OS_TEST_TIMEOUT via the role variables"

tags/22.0.0
Zuul Gerrit Code Review 9 months ago
parent
commit
8d1b36559c
3 changed files with 7 additions and 0 deletions
  1. +5
    -0
      roles/run-tempest/README.rst
  2. +1
    -0
      roles/run-tempest/defaults/main.yaml
  3. +1
    -0
      roles/run-tempest/tasks/main.yaml

+ 5
- 0
roles/run-tempest/README.rst View File

@@ -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
- 0
roles/run-tempest/defaults/main.yaml View File

@@ -3,3 +3,4 @@ tempest_test_regex: ''
tox_envlist: smoke
tempest_black_regex: ''
tox_extra_args: ''
tempest_test_timeout: ''

+ 1
- 0
roles/run-tempest/tasks/main.yaml View File

@@ -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 {} }}'

Loading…
Cancel
Save