Fix dynamic scenario when role in scenario_map

Change-Id: I7976536b7cca5a3a7d8b6de36407bc2c5c7ee785
This commit is contained in:
Dmitriy Rabotjagov 2019-05-14 16:38:05 +03:00 committed by Dmitriy Rabotyagov (noonedeadpunk)
parent 8e86f3110c
commit d1870b410e

View File

@ -46,7 +46,7 @@
{% set _ = _scenario.append(role_service_name) %}
{# Add special scenarios based on the project name #}
{% if role_service_name in scenario_map %}
{% set _ = _scenario.extend(scenario_map[service_name].split('_')) %}
{% set _ = _scenario.append(scenario_map[role_service_name]) %}
{% endif %}
{% endif %}
{{ _scenario | join('_') }}