@@ -83,7 +83,6 @@ public void testServerPodsRestartByChangingEnvProperty() throws Exception {
83
83
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
84
84
logTestBegin (testMethodName );
85
85
86
- boolean testCompletedSuccessfully = false ;
87
86
logger .info (
88
87
"About to testDomainServerPodRestart for Domain: "
89
88
+ domain .getDomainUid ()
@@ -107,8 +106,6 @@ public void testServerPodsRestartByChangingLogHomeEnabled() throws Exception {
107
106
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
108
107
logTestBegin (testMethodName );
109
108
110
- boolean testCompletedSuccessfully = false ;
111
-
112
109
logger .info (
113
110
"About to testDomainServerPodRestart for Domain: "
114
111
+ domain .getDomainUid ()
@@ -131,8 +128,6 @@ public void testServerPodsRestartByChangingImagePullPolicy() throws Exception {
131
128
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
132
129
logTestBegin (testMethodName );
133
130
134
- boolean testCompletedSuccessfully = false ;
135
-
136
131
logger .info (
137
132
"About to testDomainServerPodRestart for Domain: "
138
133
+ domain .getDomainUid ()
@@ -156,8 +151,6 @@ public void testServerPodsRestartByChangingIncludeServerOutInPodLog() throws Exc
156
151
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
157
152
logTestBegin (testMethodName );
158
153
159
- boolean testCompletedSuccessfully = false ;
160
-
161
154
logger .info (
162
155
"About to testDomainServerPodRestart for Domain: "
163
156
+ domain .getDomainUid ()
@@ -176,22 +169,22 @@ public void testServerPodsRestartByChangingIncludeServerOutInPodLog() throws Exc
176
169
* @throws Exception
177
170
*/
178
171
@ Test
179
- public void testServerPodsRestartByChangingImage () throws Exception {
172
+ public void testServerPodsRestartByChangingZImage () throws Exception {
180
173
Assume .assumeFalse (QUICKTEST );
181
174
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
182
175
logTestBegin (testMethodName );
183
176
184
- boolean testCompletedSuccessfully = false ;
185
177
try {
186
178
logger .info (
187
179
"About to testDomainServerPodRestart for Domain: "
188
180
+ domain .getDomainUid ()
189
181
+ " Image property: store/oracle/weblogic:12.2.1.3 to store/oracle/weblogic:duplicate" );
190
- TestUtils .dockerTagImage ("store/oracle/weblogic:12.2.1.3" , "store/oracle/weblogic:duplicate" );
182
+
183
+ TestUtils .exec ("docker tag store/oracle/weblogic:12.2.1.3 store/oracle/weblogic:duplicate" );
191
184
domain .testDomainServerPodRestart (
192
185
"\" store/oracle/weblogic:12.2.1.3\" " , "\" store/oracle/weblogic:duplicate\" " );
193
186
} finally {
194
- TestUtils .dockerRemoveImage ( " store/oracle/weblogic:duplicate" );
187
+ TestUtils .exec ( "docker rmi -f store/oracle/weblogic:duplicate" );
195
188
}
196
189
197
190
logger .info ("SUCCESS - " + testMethodName );
0 commit comments