Bring back the --serial flag alive
https://git.openstack.org/cgit/openstack/ openstack-ansible-os_tempest/tree/tasks/tempest_run.yml#n24 Syntex is correct, but --serial flag was not getting exposed in rocky/master os_tempest tempest_run playbook, It refactors the shell script and nicer so that it works perfectly. Change-Id: Ieca5103f803778a44bbb517954b56a9069babbdd
This commit is contained in:
parent
43298b1bbe
commit
8794a6641b
|
@ -21,7 +21,16 @@
|
|||
then
|
||||
. {{ tempest_venv_bin }}/activate
|
||||
fi
|
||||
tempest run {% if tempest_run_concurrency is defined %}--concurrency {{ tempest_run_concurrency }}{% else %}--serial{% endif %} --whitelist-file {{ tempest_test_whitelist_file_path }}{% if tempest_test_blacklist | length > 0 %} --blacklist-file {{ tempest_test_blacklist_file_path }}{% endif %}
|
||||
tempest run \
|
||||
{% if tempest_run_concurrency is defined %}
|
||||
--concurrency {{ tempest_run_concurrency }} \
|
||||
{% else %}
|
||||
--serial \
|
||||
{% endif %}
|
||||
{% if tempest_test_blacklist | length > 0 %}
|
||||
--blacklist-file {{ tempest_test_blacklist_file_path }} \
|
||||
{% endif %}
|
||||
--whitelist-file {{ tempest_test_whitelist_file_path }}
|
||||
args:
|
||||
chdir: "{{ tempest_workspace }}"
|
||||
executable: /bin/bash
|
||||
|
|
Loading…
Reference in New Issue