Fix condition of excludelist file removal
Due to typo in condition, we ended up in removing excludelist file right after it being provisioned in certain circumstances. Change-Id: I455f4e796fb8dcac29fe7947fc192baee9367187
This commit is contained in:
parent
184595e6cc
commit
adcb83cff8
@ -190,7 +190,7 @@
|
||||
path: "{{ tempest_excludelist_file_path }}"
|
||||
state: absent
|
||||
when:
|
||||
- tempest_test_excludelist | length == 0
|
||||
- _tempest_test_excludelist | length == 0
|
||||
|
||||
- name: Drop test_accounts_file
|
||||
copy:
|
||||
|
@ -31,7 +31,7 @@
|
||||
{% if tempest_test_worker_file_path is defined %}
|
||||
--worker-file {{ tempest_test_worker_file_path }} \
|
||||
{% endif %}
|
||||
{% if tempest_test_excludelist | length > 0 %}
|
||||
{% if _tempest_test_excludelist | length > 0 %}
|
||||
--exclude-list {{ tempest_excludelist_file_path }} \
|
||||
{% endif %}
|
||||
--include-list {{ tempest_includelist_file_path }} > {{ tempest_log_dir }}/tempest_run.log
|
||||
@ -110,7 +110,7 @@
|
||||
fi
|
||||
tempest run \
|
||||
--include-list {{ tempest_includelist_file_path }} \
|
||||
{% if tempest_test_excludelist | length > 0 %}
|
||||
{% if _tempest_test_excludelist | length > 0 %}
|
||||
--exclude-list {{ tempest_excludelist_file_path }} \
|
||||
{% endif %}
|
||||
--list-tests &> {{ tempest_log_dir }}/test_list.txt
|
||||
|
Loading…
Reference in New Issue
Block a user