Also keep old_style blacklist schema

The blacklist defined for older release with in the job
does not have test attributes leading to break the role.

In order to have compatibility between older blacklist and
newer blacklist having test tag schema fixes the issue.

Change-Id: Ide422b7b60a0b3a9321fb4686f0a2ab922200b7e
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
Chandan Kumar (raukadah) 2019-11-26 17:41:02 +05:30
parent 2ddeb35030
commit 0d4f0f3f69
2 changed files with 6 additions and 1 deletions

View File

@ -94,6 +94,9 @@ tempest_test_whitelist:
# reason: This test is failing
# lp: 'https://bugs.launchpad.net/openstack-ansible/+bug/123456'
# bz: 'https://bugzilla.redhat.com/show_bug.cgi?id=123456'
# OR
# tempest_test_blacklist:
# - 'tempest.scenario.test.minimum_basic'
tempest_test_blacklist: []
# Toggle fatal deprecations

View File

@ -165,8 +165,10 @@
copy:
content: |
{% for item in tempest_test_blacklist %}
{% if item.test %}
{% if item.test is defined %}
{{ item.test }}
{% else %}
{{ item }}
{% endif %}
{% endfor %}
dest: "{{ tempest_test_blacklist_file_path }}"