For Update process, switch repositories to update/proposed
Change-Id: I9ed3e2975bac989d116da5f005456c0446648373
diff --git a/tcp_tests/tests/system/test_mcp_update.py b/tcp_tests/tests/system/test_mcp_update.py
index f4688b7..4a1cfa2 100644
--- a/tcp_tests/tests/system/test_mcp_update.py
+++ b/tcp_tests/tests/system/test_mcp_update.py
@@ -61,6 +61,19 @@
"release/proposed/2019.2.0",
"cluster/*/infra/init.yml"
)
+
+ proposed_branch = "http://mirror.mirantis.com/update/proposed/"
+ url_param = "parameters._param.linux_system_repo_update_url"
+ reclass_actions.add_key(url_param, proposed_branch,
+ "cluster/*/infra/init.yml")
+ reclass_actions.add_key(url_param, proposed_branch,
+ "cluster/*/openstack/init.yml")
+ reclass_actions.add_key(url_param, proposed_branch,
+ "cluster/*/stacklight/init.yml")
+ reclass_actions.add_key(url_param, proposed_branch,
+ "cluster/*/ceph/init.yml")
+
+ salt_actions.run_state("*", "saltutil.refresh_pillar")
salt_actions.enforce_state("I@jenkins:client", "jenkins.client")
@@ -225,7 +238,7 @@
"cluster/*/infra/init.yml")
show_step(4)
- salt.enforce_state("dbs*", "saltutil.refresh_pillar")
+ salt.run_state("dbs*", "saltutil.refresh_pillar")
# ############# Add repositories with new Galera packages #######
show_step(5)