33// http://oss.oracle.com/licenses/upl.
44package oracle .kubernetes .operator ;
55
6+ import static oracle .kubernetes .operator .BaseTest .QUICKTEST ;
7+ import static oracle .kubernetes .operator .BaseTest .logger ;
8+
9+ import java .util .logging .Level ;
610import org .junit .AfterClass ;
11+ import org .junit .Assume ;
712import org .junit .BeforeClass ;
813import org .junit .Test ;
914
10- /** JUnit test class used for testing configuration override use cases. */
15+ /** JUnit test class used for testing configuration override use cases for domain in pv WLS . */
1116public class ItSitConfigDomainInPV extends SitConfig {
1217
1318 /**
@@ -48,7 +53,11 @@ public static void staticUnPrepare() throws Exception {
4853 */
4954 @ Test
5055 public void testCustomSitConfigOverridesForDomainInPV () throws Exception {
51- testCustomSitConfigOverridesForDomain ();
56+ Assume .assumeFalse (QUICKTEST );
57+ String testMethod = new Object () {}.getClass ().getEnclosingMethod ().getName ();
58+ logTestBegin (testMethod );
59+ testCustomSitConfigOverridesForDomain (testMethod );
60+ logger .log (Level .INFO , "SUCCESS - {0}" , testMethod );
5261 }
5362
5463 /**
@@ -62,7 +71,11 @@ public void testCustomSitConfigOverridesForDomainInPV() throws Exception {
6271 */
6372 @ Test
6473 public void testCustomSitConfigOverridesForDomainMSInPV () throws Exception {
65- testCustomSitConfigOverridesForDomainMS ();
74+ Assume .assumeFalse (QUICKTEST );
75+ String testMethod = new Object () {}.getClass ().getEnclosingMethod ().getName ();
76+ logTestBegin (testMethod );
77+ testCustomSitConfigOverridesForDomainMS (testMethod );
78+ logger .log (Level .INFO , "SUCCESS - {0}" , testMethod );
6679 }
6780
6881 /**
@@ -81,7 +94,11 @@ public void testCustomSitConfigOverridesForDomainMSInPV() throws Exception {
8194 */
8295 @ Test
8396 public void testCustomSitConfigOverridesForJdbcInPV () throws Exception {
84- testCustomSitConfigOverridesForJdbc ();
97+ Assume .assumeFalse (QUICKTEST );
98+ String testMethod = new Object () {}.getClass ().getEnclosingMethod ().getName ();
99+ logTestBegin (testMethod );
100+ testCustomSitConfigOverridesForJdbc (testMethod );
101+ logger .log (Level .INFO , "SUCCESS - {0}" , testMethod );
85102 }
86103
87104 /**
@@ -96,7 +113,11 @@ public void testCustomSitConfigOverridesForJdbcInPV() throws Exception {
96113 */
97114 @ Test
98115 public void testCustomSitConfigOverridesForJmsInPV () throws Exception {
99- testCustomSitConfigOverridesForJms ();
116+ Assume .assumeFalse (QUICKTEST );
117+ String testMethod = new Object () {}.getClass ().getEnclosingMethod ().getName ();
118+ logTestBegin (testMethod );
119+ testCustomSitConfigOverridesForJms (testMethod );
120+ logger .log (Level .INFO , "SUCCESS - {0}" , testMethod );
100121 }
101122
102123 /**
@@ -113,7 +134,11 @@ public void testCustomSitConfigOverridesForJmsInPV() throws Exception {
113134 */
114135 @ Test
115136 public void testCustomSitConfigOverridesForWldfInPV () throws Exception {
116- testCustomSitConfigOverridesForWldf ();
137+ Assume .assumeFalse (QUICKTEST );
138+ String testMethod = new Object () {}.getClass ().getEnclosingMethod ().getName ();
139+ logTestBegin (testMethod );
140+ testCustomSitConfigOverridesForWldf (testMethod );
141+ logger .log (Level .INFO , "SUCCESS - {0}" , testMethod );
117142 }
118143
119144 /**
@@ -125,7 +150,11 @@ public void testCustomSitConfigOverridesForWldfInPV() throws Exception {
125150 */
126151 @ Test
127152 public void testConfigOverrideAfterDomainStartupInPV () throws Exception {
128- testConfigOverrideAfterDomainStartup ();
153+ Assume .assumeFalse (QUICKTEST );
154+ String testMethod = new Object () {}.getClass ().getEnclosingMethod ().getName ();
155+ logTestBegin (testMethod );
156+ testConfigOverrideAfterDomainStartup (testMethod );
157+ logger .log (Level .INFO , "SUCCESS - {0}" , testMethod );
129158 }
130159
131160 /**
@@ -137,7 +166,11 @@ public void testConfigOverrideAfterDomainStartupInPV() throws Exception {
137166 */
138167 @ Test
139168 public void testOverrideJdbcResourceAfterDomainStartInPV () throws Exception {
140- testOverrideJdbcResourceAfterDomainStart ();
169+ Assume .assumeFalse (QUICKTEST );
170+ String testMethod = new Object () {}.getClass ().getEnclosingMethod ().getName ();
171+ logTestBegin (testMethod );
172+ testOverrideJdbcResourceAfterDomainStart (testMethod );
173+ logger .log (Level .INFO , "SUCCESS - {0}" , testMethod );
141174 }
142175
143176 /**
@@ -148,6 +181,10 @@ public void testOverrideJdbcResourceAfterDomainStartInPV() throws Exception {
148181 */
149182 @ Test
150183 public void testOverrideJdbcResourceWithNewSecretInPV () throws Exception {
151- testOverrideJdbcResourceWithNewSecret ();
184+ Assume .assumeFalse (QUICKTEST );
185+ String testMethod = new Object () {}.getClass ().getEnclosingMethod ().getName ();
186+ logTestBegin (testMethod );
187+ testOverrideJdbcResourceWithNewSecret (testMethod );
188+ logger .log (Level .INFO , "SUCCESS - {0}" , testMethod );
152189 }
153190}
0 commit comments