Skip to content

Commit 0ace4af

Browse files
committed
debugging
1 parent d442fa8 commit 0ace4af

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public static void staticUnPrepare() throws Exception {
9797
*
9898
* @throws Exception
9999
*/
100-
@Test
100+
// @Test
101101
public void testServerPodsRestartByChangingEnvProperty() throws Exception {
102102
Assume.assumeFalse(QUICKTEST);
103103
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -120,7 +120,7 @@ public void testServerPodsRestartByChangingEnvProperty() throws Exception {
120120
*
121121
* @throws Exception
122122
*/
123-
@Test
123+
// @Test
124124
public void testServerPodsRestartByChangingLogHomeEnabled() throws Exception {
125125
Assume.assumeFalse(QUICKTEST);
126126
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -142,7 +142,7 @@ public void testServerPodsRestartByChangingLogHomeEnabled() throws Exception {
142142
*
143143
* @throws Exception
144144
*/
145-
@Test
145+
// @Test
146146
public void testServerPodsRestartByChangingImagePullPolicy() throws Exception {
147147
Assume.assumeFalse(QUICKTEST);
148148
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -165,7 +165,7 @@ public void testServerPodsRestartByChangingImagePullPolicy() throws Exception {
165165
*
166166
* @throws Exception
167167
*/
168-
@Test
168+
// @Test
169169
public void testServerPodsRestartByChangingIncludeServerOutInPodLog() throws Exception {
170170
Assume.assumeFalse(QUICKTEST);
171171
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -261,7 +261,7 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
261261
* are not restarted or after restart the server yaml file doesn't include the new added
262262
* property
263263
*/
264-
@Test
264+
// @Test
265265
public void testServerPodsRestartByChangingContSecurityContext() throws Exception {
266266
Assume.assumeFalse(QUICKTEST);
267267
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -298,7 +298,7 @@ public void testServerPodsRestartByChangingContSecurityContext() throws Exceptio
298298
* are not restarted or after restart the server yaml file doesn't include the new added
299299
* property
300300
*/
301-
@Test
301+
// @Test
302302
public void testServerPodsRestartByChangingPodSecurityContext() throws Exception {
303303
Assume.assumeFalse(QUICKTEST);
304304
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -336,7 +336,7 @@ public void testServerPodsRestartByChangingPodSecurityContext() throws Exception
336336
* are not restarted or after restart the server yaml file doesn't include the new added
337337
* property
338338
*/
339-
@Test
339+
// @Test
340340
public void testServerPodsRestartByChangingResource() throws Exception {
341341
Assume.assumeFalse(QUICKTEST);
342342
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -371,7 +371,7 @@ public void testServerPodsRestartByChangingResource() throws Exception {
371371
* @throws Exception when domain.yaml cannot be read or modified to include the
372372
* restartVersion:v1.1
373373
*/
374-
@Test
374+
// @Test
375375
public void testAdminServerRestartVersion() throws Exception {
376376
Assume.assumeFalse(QUICKTEST);
377377
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -417,7 +417,7 @@ public void testAdminServerRestartVersion() throws Exception {
417417
* @throws Exception when domain.yaml cannot be read or modified to include the
418418
* restartVersion:v1.1
419419
*/
420-
@Test
420+
// @Test
421421
public void testClusterRestartVersion() throws Exception {
422422
Assume.assumeFalse(QUICKTEST);
423423
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -464,7 +464,7 @@ public void testClusterRestartVersion() throws Exception {
464464
* @throws Exception when domain.yaml cannot be read or modified to include the
465465
* restartVersion:v1.1
466466
*/
467-
// @Test
467+
// // @Test
468468
public void testMSRestartVersion() throws Exception {
469469
Assume.assumeFalse(QUICKTEST);
470470
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
@@ -511,7 +511,7 @@ public void testMSRestartVersion() throws Exception {
511511
* @throws Exception when domain.yaml cannot be read or modified to include the
512512
* restartVersion:v1.1
513513
*/
514-
@Test
514+
// @Test
515515
public void testDomainRestartVersion() throws Exception {
516516
Assume.assumeFalse(QUICKTEST);
517517
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();

integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ public void deployWebAppViaREST(
389389
ExecResult result = TestUtils.exec(cmd.toString());
390390
String output = result.stdout().trim();
391391
logger.info("curl output " + output + " \n err " + result.stderr());
392+
logger.info(getHostNameForCurl());
392393
if (!output.contains("202")) {
393394
throw new RuntimeException("FAILURE: Webapp deployment failed with response code " + output);
394395
}

0 commit comments

Comments
 (0)