Update test repos URLs

Change-Id: Ib526124a6441cacfb0cfa2c561c47dda89b4a991
Related: PROD-33984
Related: PROD-33634
diff --git a/tests/pillar/repo_openstack_ocata.sls b/tests/pillar/repo_openstack_ocata.sls
deleted file mode 100644
index a638cf6..0000000
--- a/tests/pillar/repo_openstack_ocata.sls
+++ /dev/null
@@ -1,8 +0,0 @@
-linux:
-  system:
-    enabled: true
-    repo:
-      mirantis_openstack:
-        source: "deb http://mirror.fuel-infra.org/mcp-repos/ocata/xenial ocata main"
-        architectures: amd64
-        key_url: "http://mirror.fuel-infra.org/mcp-repos/ocata/xenial/archive-mcpocata.key"
diff --git a/tests/pillar/repo_openstack_pike.sls b/tests/pillar/repo_openstack_pike.sls
index 03d0184..8905a98 100644
--- a/tests/pillar/repo_openstack_pike.sls
+++ b/tests/pillar/repo_openstack_pike.sls
@@ -2,7 +2,11 @@
   system:
     enabled: true
     repo:
-      mirantis_openstack:
-        source: "deb http://mirror.mirantis.com/nightly/openstack-pike/xenial xenial main"
+      mirantis_openstack_repo:
+        source: "deb http://mirror.mirantis.com/nightly/openstack-pike/{{ grains.get('oscodename') }} {{ grains.get('oscodename') }} main"
         architectures: amd64
-        key_url: "http://mirror.mirantis.com/nightly/openstack-pike/xenial/archive-pike.key"
+        key_url: "http://mirror.mirantis.com/nightly/openstack-pike/{{ grains.get('oscodename') }}/archive-pike.key"
+        pin:
+        - pin: 'release l=pike'
+          priority: 1050
+          package: '*'
\ No newline at end of file