Skip to content

Commit 3a6e3a1

Browse files
committed
fix to change to
container-registry.oracle.com/middleware/weblogic:12.2.1.3-190111
1 parent a7abe51 commit 3a6e3a1

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ITPodsRestart.java

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ public void testServerPodsRestartByChangingIncludeServerOutInPodLog() throws Exc
184184
/**
185185
* Modify the domain scope property on the domain resource using kubectl apply -f domain.yaml
186186
* 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"
188189
*
189190
* @throws Exception
190191
*/
@@ -198,14 +199,16 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
198199
logger.info(
199200
"About to verifyDomainServerPodRestart for Domain: "
200201
+ 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");
202203

203204
if (BaseTest.SHARED_CLUSTER) {
204205
String newImage =
205-
System.getenv("REPO_REGISTRY") + "/weblogick8s/store/oracle/weblogic:duplicate";
206+
System.getenv("REPO_REGISTRY") + "/weblogick8s/middleware/weblogic:duplicate";
206207

207208
// 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);
209212

210213
// login and push image to ocir
211214
TestUtils.loginAndPushImageToOCIR(newImage);
@@ -222,15 +225,18 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
222225

223226
// apply new domain yaml and verify pod restart
224227
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 + "\"");
226230
} 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");
228233
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\"");
230236
}
231237
} finally {
232238
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");
234240
}
235241
}
236242

0 commit comments

Comments
 (0)