@@ -184,7 +184,8 @@ public void testServerPodsRestartByChangingIncludeServerOutInPodLog() throws Exc
184
184
/**
185
185
* Modify the domain scope property on the domain resource using kubectl apply -f domain.yaml
186
186
* Verify that all the server pods in the domain got re-started .The property tested is: image:
187
- * "store/oracle/weblogic:12.2.1.3" --> image: "store/oracle/weblogic:duplicate"
187
+ * "container-registry.oracle.com/middleware/weblogic:12.2.1.3-190111" --> image:
188
+ * "container-registry.oracle.com/middleware/weblogic:duplicate"
188
189
*
189
190
* @throws Exception
190
191
*/
@@ -198,14 +199,16 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
198
199
logger .info (
199
200
"About to verifyDomainServerPodRestart for Domain: "
200
201
+ domain .getDomainUid ()
201
- + " Image property: store/ oracle/ weblogic:12.2.1.3 to store/ oracle/weblogic:duplicate" );
202
+ + " Image property: container-registry. oracle.com/middleware/ weblogic:12.2.1.3-190111 to container-registry. oracle.com/middleware /weblogic:duplicate" );
202
203
203
204
if (BaseTest .SHARED_CLUSTER ) {
204
205
String newImage =
205
- System .getenv ("REPO_REGISTRY" ) + "/weblogick8s/store/oracle /weblogic:duplicate" ;
206
+ System .getenv ("REPO_REGISTRY" ) + "/weblogick8s/middleware /weblogic:duplicate" ;
206
207
207
208
// tag image with repo name
208
- TestUtils .exec ("docker tag store/oracle/weblogic:12.2.1.3 " + newImage );
209
+ TestUtils .exec (
210
+ "docker tag container-registry.oracle.com/middleware/weblogic:12.2.1.3-190111 "
211
+ + newImage );
209
212
210
213
// login and push image to ocir
211
214
TestUtils .loginAndPushImageToOCIR (newImage );
@@ -222,15 +225,18 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
222
225
223
226
// apply new domain yaml and verify pod restart
224
227
domain .verifyDomainServerPodRestart (
225
- "\" store/oracle/weblogic:12.2.1.3\" " , "\" " + newImage + "\" " );
228
+ "\" container-registry.oracle.com/middleware/weblogic:12.2.1.3-190111\" " ,
229
+ "\" " + newImage + "\" " );
226
230
} else {
227
- TestUtils .exec ("docker tag store/oracle/weblogic:12.2.1.3 store/oracle/weblogic:duplicate" );
231
+ TestUtils .exec (
232
+ "docker tag container-registry.oracle.com/middleware/weblogic:12.2.1.3-190111 container-registry.oracle.com/middleware/weblogic:duplicate" );
228
233
domain .verifyDomainServerPodRestart (
229
- "\" store/oracle/weblogic:12.2.1.3\" " , "\" store/oracle/weblogic:duplicate\" " );
234
+ "\" container-registry.oracle.com/middleware/weblogic:12.2.1.3-190111\" " ,
235
+ "\" container-registry.oracle.com/middleware/weblogic:duplicate\" " );
230
236
}
231
237
} finally {
232
238
if (!BaseTest .SHARED_CLUSTER ) {
233
- TestUtils .exec ("docker rmi -f store/ oracle/weblogic:duplicate" );
239
+ TestUtils .exec ("docker rmi -f container-registry. oracle.com/middleware /weblogic:duplicate" );
234
240
}
235
241
}
236
242
0 commit comments