Skip to content

Commit f5247d0

Browse files
committed
debugging
1 parent 809e7e7 commit f5247d0

File tree

1 file changed

+16
-25
lines changed

1 file changed

+16
-25
lines changed

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

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ private static void destroyPodsRestartdomain() throws Exception {
121121
*
122122
* @throws Exception exception
123123
*/
124-
@Test
124+
//@Test
125125
public void testServerPodsRestartByChangingEnvProperty() throws Exception {
126126
Assume.assumeTrue(QUICKTEST);
127127
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -144,7 +144,7 @@ public void testServerPodsRestartByChangingEnvProperty() throws Exception {
144144
*
145145
* @throws Exception exception
146146
*/
147-
@Test
147+
//@Test
148148
public void testServerPodsRestartByChangingLogHomeEnabled() throws Exception {
149149
Assume.assumeTrue(QUICKTEST);
150150
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -166,7 +166,7 @@ public void testServerPodsRestartByChangingLogHomeEnabled() throws Exception {
166166
*
167167
* @throws Exception exception
168168
*/
169-
@Test
169+
//@Test
170170
public void testServerPodsRestartByChangingImagePullPolicy() throws Exception {
171171
Assume.assumeTrue(QUICKTEST);
172172
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -189,7 +189,7 @@ public void testServerPodsRestartByChangingImagePullPolicy() throws Exception {
189189
*
190190
* @throws Exception exception
191191
*/
192-
@Test
192+
//@Test
193193
public void testServerPodsRestartByChangingIncludeServerOutInPodLog() throws Exception {
194194
Assume.assumeTrue(QUICKTEST);
195195
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -236,19 +236,13 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
236236
System.getenv("REPO_REGISTRY") + "/weblogick8s/middleware/weblogic:duplicate";
237237
// tag image with repo name
238238
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";
249243

250244
// login and push image to ocir
251-
//TestUtils.loginAndPushImageToOcir(newImage);
245+
/*TestUtils.loginAndPushImageToOcir(newImage);
252246
253247
// create ocir registry secret in the same ns as domain which is used while pulling the
254248
// image
@@ -258,15 +252,12 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
258252
System.getenv("REPO_USERNAME"),
259253
System.getenv("REPO_PASSWORD"),
260254
System.getenv("REPO_EMAIL"),
261-
domain.getDomainNs());
255+
domain.getDomainNs());*/
262256

263257
// apply new domain yaml and verify pod restart
264-
/*domain.verifyDomainServerPodRestart(
265-
"\"" + getWeblogicImageName() + ":" + getWeblogicImageTag() + "\"",
266-
"\"" + newImage + "\"");*/
267258
domain.verifyDomainServerPodRestart(
268259
"\"" + getWeblogicImageName() + ":" + getWeblogicImageTag() + "\"",
269-
"\"" + getWeblogicImageName() + ":duplicate" + "\"");
260+
"\"" + newImage + "\"");
270261

271262
} else {
272263
TestUtils.exec(
@@ -299,7 +290,7 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
299290
* are not restarted or after restart the server yaml file doesn't include the new added
300291
* property
301292
*/
302-
@Test
293+
//@Test
303294
public void testServerPodsRestartByChangingContSecurityContext() throws Exception {
304295
Assume.assumeTrue(QUICKTEST);
305296
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -336,7 +327,7 @@ public void testServerPodsRestartByChangingContSecurityContext() throws Exceptio
336327
* are not restarted or after restart the server yaml file doesn't include the new added
337328
* property
338329
*/
339-
@Test
330+
//@Test
340331
public void testServerPodsRestartByChangingPodSecurityContext() throws Exception {
341332
Assume.assumeTrue(QUICKTEST);
342333
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -374,7 +365,7 @@ public void testServerPodsRestartByChangingPodSecurityContext() throws Exception
374365
* are not restarted or after restart the server yaml file doesn't include the new added
375366
* property
376367
*/
377-
@Test
368+
//@Test
378369
public void testServerPodsRestartByChangingResource() throws Exception {
379370
Assume.assumeTrue(QUICKTEST);
380371
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -455,7 +446,7 @@ public void testAdminServerRestartVersion() throws Exception {
455446
* @throws Exception when domain.yaml cannot be read or modified to include the
456447
* restartVersion:v1.1
457448
*/
458-
@Test
449+
//@Test
459450
public void testClusterRestartVersion() throws Exception {
460451
Assume.assumeTrue(QUICKTEST);
461452
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -549,7 +540,7 @@ public void testMsRestartVersion() throws Exception {
549540
* @throws Exception when domain.yaml cannot be read or modified to include the
550541
* restartVersion:v1.1
551542
*/
552-
@Test
543+
//@Test
553544
public void testDomainRestartVersion() throws Exception {
554545
Assume.assumeTrue(QUICKTEST);
555546
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();

0 commit comments

Comments
 (0)