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 }}"
|
path: "{{ tempest_excludelist_file_path }}"
|
||||||
state: absent
|
state: absent
|
||||||
when:
|
when:
|
||||||
- tempest_test_excludelist | length == 0
|
- _tempest_test_excludelist | length == 0
|
||||||
|
|
||||||
- name: Drop test_accounts_file
|
- name: Drop test_accounts_file
|
||||||
copy:
|
copy:
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
{% if tempest_test_worker_file_path is defined %}
|
{% if tempest_test_worker_file_path is defined %}
|
||||||
--worker-file {{ tempest_test_worker_file_path }} \
|
--worker-file {{ tempest_test_worker_file_path }} \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if tempest_test_excludelist | length > 0 %}
|
{% if _tempest_test_excludelist | length > 0 %}
|
||||||
--exclude-list {{ tempest_excludelist_file_path }} \
|
--exclude-list {{ tempest_excludelist_file_path }} \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
--include-list {{ tempest_includelist_file_path }} > {{ tempest_log_dir }}/tempest_run.log
|
--include-list {{ tempest_includelist_file_path }} > {{ tempest_log_dir }}/tempest_run.log
|
||||||
@ -110,7 +110,7 @@
|
|||||||
fi
|
fi
|
||||||
tempest run \
|
tempest run \
|
||||||
--include-list {{ tempest_includelist_file_path }} \
|
--include-list {{ tempest_includelist_file_path }} \
|
||||||
{% if tempest_test_excludelist | length > 0 %}
|
{% if _tempest_test_excludelist | length > 0 %}
|
||||||
--exclude-list {{ tempest_excludelist_file_path }} \
|
--exclude-list {{ tempest_excludelist_file_path }} \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
--list-tests &> {{ tempest_log_dir }}/test_list.txt
|
--list-tests &> {{ tempest_log_dir }}/test_list.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user