File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
integration-tests/src/test/java/oracle/kubernetes/operator Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
219
219
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
220
220
logTestBegin (testMethodName );
221
221
222
- // try {
222
+ try {
223
223
TestUtils .exec ("docker images" , true );
224
224
logger .info (
225
225
"About to verifyDomainServerPodRestart for Domain: "
@@ -230,8 +230,8 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
230
230
+ getWeblogicImageTag ()
231
231
);
232
232
233
- /* if (BaseTest.SHARED_CLUSTER) {
234
- String newImage =
233
+ if (BaseTest .SHARED_CLUSTER ) {
234
+ /* String newImage =
235
235
System.getenv("REPO_REGISTRY") + "/weblogick8s/middleware/weblogic:duplicate";
236
236
// tag image with repo name
237
237
String tag =
@@ -259,7 +259,7 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
259
259
"\" " + getWeblogicImageName () + ":" + getWeblogicImageTag () + "\" " ,
260
260
"\" " + newImage + "\" " );
261
261
262
- /* } else {
262
+ } else {
263
263
TestUtils .exec (
264
264
"docker tag "
265
265
+ getWeblogicImageName ()
@@ -276,7 +276,7 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
276
276
if (!BaseTest .SHARED_CLUSTER ) {
277
277
TestUtils .exec ("docker rmi -f " + getWeblogicImageName () + ":duplicate" );
278
278
}
279
- }*/
279
+ }
280
280
281
281
logger .info ("SUCCESS - " + testMethodName );
282
282
}
You can’t perform that action at this time.
0 commit comments