Fix default var for PATTERN
Change-Id: Ib5a4217ccf5898396a349662ba83223b7283dddc
Reviewed-on: https://review.gerrithub.io/371161
Reviewed-by: Tatyanka Leontovich <tleontovich@mirantis.com>
Tested-by: Tatyanka Leontovich <tleontovich@mirantis.com>
diff --git a/tcp_tests/templates/virtual-mcp-ocata-dvr/openstack.yaml b/tcp_tests/templates/virtual-mcp-ocata-dvr/openstack.yaml
index e50b12c..f84d582 100644
--- a/tcp_tests/templates/virtual-mcp-ocata-dvr/openstack.yaml
+++ b/tcp_tests/templates/virtual-mcp-ocata-dvr/openstack.yaml
@@ -373,7 +373,7 @@
skip_fail: false
- description: Run tests
- pattern = {{ os_env('PATTERN') }}
+ pattern = {{ os_env('PATTERN', 'smoke') }}
cmd: |
if [[ -n "$pattern" ]]; then
salt-call cmd.run 'docker run --rm --net=host -e TEMPEST_CONF=lvm_mcp.conf -e SKIP_LIST=mcp_skip.list -e SOURCE_FILE=keystonercv3 -e CUSTOM="--pattern $pattern" -v /root/:/home/rally docker-sandbox.sandbox.mirantis.net/rally-tempest/rally-tempest:with_designate >> image.output'