Quick fix for MCP version in VCP, CFG images
Change-Id: I29c2768f7d167b150c47f2444ab2af259e5f8002
Related-Prod:#PROD-00000
diff --git a/tcp_tests/managers/envmanager_heat.py b/tcp_tests/managers/envmanager_heat.py
index ca1f41d..2460988 100644
--- a/tcp_tests/managers/envmanager_heat.py
+++ b/tcp_tests/managers/envmanager_heat.py
@@ -536,13 +536,16 @@
env_paths=[self.__config.hardware.heat_env_path],
env_list_tracker=env_files_list))
+ mcp_version = settings.MCP_VERSION
+ if "2019.2" in settings.MCP_VERSION:
+ mcp_version = "2019.2.0"
fields = {
'stack_name': self.__config.hardware.heat_stack_name,
'template': template,
'files': dict(list(tpl_files.items()) + list(env_files.items())),
'environment': env,
'parameters': {
- 'mcp_version': settings.MCP_VERSION,
+ 'mcp_version': mcp_version,
'env_name': settings.ENV_NAME,
}
}