@@ -121,7 +121,7 @@ private static void destroyPodsRestartdomain() throws Exception {
121
121
*
122
122
* @throws Exception exception
123
123
*/
124
- @ Test
124
+ // @Test
125
125
public void testServerPodsRestartByChangingEnvProperty () throws Exception {
126
126
Assume .assumeTrue (QUICKTEST );
127
127
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
@@ -144,7 +144,7 @@ public void testServerPodsRestartByChangingEnvProperty() throws Exception {
144
144
*
145
145
* @throws Exception exception
146
146
*/
147
- @ Test
147
+ // @Test
148
148
public void testServerPodsRestartByChangingLogHomeEnabled () throws Exception {
149
149
Assume .assumeTrue (QUICKTEST );
150
150
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
@@ -166,7 +166,7 @@ public void testServerPodsRestartByChangingLogHomeEnabled() throws Exception {
166
166
*
167
167
* @throws Exception exception
168
168
*/
169
- @ Test
169
+ // @Test
170
170
public void testServerPodsRestartByChangingImagePullPolicy () throws Exception {
171
171
Assume .assumeTrue (QUICKTEST );
172
172
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
@@ -189,7 +189,7 @@ public void testServerPodsRestartByChangingImagePullPolicy() throws Exception {
189
189
*
190
190
* @throws Exception exception
191
191
*/
192
- @ Test
192
+ // @Test
193
193
public void testServerPodsRestartByChangingIncludeServerOutInPodLog () throws Exception {
194
194
Assume .assumeTrue (QUICKTEST );
195
195
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
@@ -236,19 +236,13 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
236
236
System.getenv("REPO_REGISTRY") + "/weblogick8s/middleware/weblogic:duplicate";
237
237
// tag image with repo name
238
238
String tag =
239
- "docker tag " + getWeblogicImageName() + ":" + getWeblogicImageTag() + " " + newImage;*/
240
- String tag = "docker tag "
241
- + getWeblogicImageName ()
242
- + ":"
243
- + getWeblogicImageTag ()
244
- + " "
245
- + getWeblogicImageName ()
246
- + ":duplicate" ;
247
- TestUtils .exec (tag , true );
248
- TestUtils .exec ("docker images" , true );
239
+ "docker tag " + getWeblogicImageName() + ":" + getWeblogicImageTag() + " " + newImage;
240
+ TestUtils.exec(tag, true);
241
+ TestUtils.exec("docker images", true);*/
242
+ String newImages = getWeblogicImageServer ()+ "/middleware/weblogic:12.2.1.3-dev" ;
249
243
250
244
// login and push image to ocir
251
- // TestUtils.loginAndPushImageToOcir(newImage);
245
+ /* TestUtils.loginAndPushImageToOcir(newImage);
252
246
253
247
// create ocir registry secret in the same ns as domain which is used while pulling the
254
248
// image
@@ -258,15 +252,12 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
258
252
System.getenv("REPO_USERNAME"),
259
253
System.getenv("REPO_PASSWORD"),
260
254
System.getenv("REPO_EMAIL"),
261
- domain .getDomainNs ());
255
+ domain.getDomainNs());*/
262
256
263
257
// apply new domain yaml and verify pod restart
264
- /*domain.verifyDomainServerPodRestart(
265
- "\"" + getWeblogicImageName() + ":" + getWeblogicImageTag() + "\"",
266
- "\"" + newImage + "\"");*/
267
258
domain .verifyDomainServerPodRestart (
268
259
"\" " + getWeblogicImageName () + ":" + getWeblogicImageTag () + "\" " ,
269
- "\" " + getWeblogicImageName () + ":duplicate" + "\" " );
260
+ "\" " + newImage + "\" " );
270
261
271
262
} else {
272
263
TestUtils .exec (
@@ -299,7 +290,7 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
299
290
* are not restarted or after restart the server yaml file doesn't include the new added
300
291
* property
301
292
*/
302
- @ Test
293
+ // @Test
303
294
public void testServerPodsRestartByChangingContSecurityContext () throws Exception {
304
295
Assume .assumeTrue (QUICKTEST );
305
296
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
@@ -336,7 +327,7 @@ public void testServerPodsRestartByChangingContSecurityContext() throws Exceptio
336
327
* are not restarted or after restart the server yaml file doesn't include the new added
337
328
* property
338
329
*/
339
- @ Test
330
+ // @Test
340
331
public void testServerPodsRestartByChangingPodSecurityContext () throws Exception {
341
332
Assume .assumeTrue (QUICKTEST );
342
333
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
@@ -374,7 +365,7 @@ public void testServerPodsRestartByChangingPodSecurityContext() throws Exception
374
365
* are not restarted or after restart the server yaml file doesn't include the new added
375
366
* property
376
367
*/
377
- @ Test
368
+ // @Test
378
369
public void testServerPodsRestartByChangingResource () throws Exception {
379
370
Assume .assumeTrue (QUICKTEST );
380
371
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
@@ -455,7 +446,7 @@ public void testAdminServerRestartVersion() throws Exception {
455
446
* @throws Exception when domain.yaml cannot be read or modified to include the
456
447
* restartVersion:v1.1
457
448
*/
458
- @ Test
449
+ // @Test
459
450
public void testClusterRestartVersion () throws Exception {
460
451
Assume .assumeTrue (QUICKTEST );
461
452
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
@@ -549,7 +540,7 @@ public void testMsRestartVersion() throws Exception {
549
540
* @throws Exception when domain.yaml cannot be read or modified to include the
550
541
* restartVersion:v1.1
551
542
*/
552
- @ Test
543
+ // @Test
553
544
public void testDomainRestartVersion () throws Exception {
554
545
Assume .assumeTrue (QUICKTEST );
555
546
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
0 commit comments