Set tempest concurrency to int only
Currently os_tempest role checks tempest concurrency to greater than 0. But this review https://review.openstack.org/#/c/641349/ sets default concurrency to zero so we donot need to check the default concuurency to greater than 0. https://github.com/mtreinish/stestr/pull/232 already checks the concurrency value to int so we donot need to define check for int. Change-Id: If53b59f3faede91e158cd544742ab37639800b57
This commit is contained in:
parent
b3e904e8f0
commit
43298b1bbe
|
@ -21,7 +21,7 @@
|
|||
then
|
||||
. {{ tempest_venv_bin }}/activate
|
||||
fi
|
||||
tempest run {% if tempest_run_concurrency is defined %}{% if tempest_run_concurrency | int > 0 %}--concurrency {{ tempest_run_concurrency | int }}{% else %}--serial{% endif %}{% 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 %} --whitelist-file {{ tempest_test_whitelist_file_path }}{% if tempest_test_blacklist | length > 0 %} --blacklist-file {{ tempest_test_blacklist_file_path }}{% endif %}
|
||||
args:
|
||||
chdir: "{{ tempest_workspace }}"
|
||||
executable: /bin/bash
|
||||
|
|
Loading…
Reference in New Issue