3
3
// http://oss.oracle.com/licenses/upl.
4
4
package oracle .kubernetes .operator ;
5
5
6
+ import static oracle .kubernetes .operator .BaseTest .QUICKTEST ;
7
+ import static oracle .kubernetes .operator .BaseTest .logger ;
8
+
9
+ import java .util .logging .Level ;
6
10
import org .junit .AfterClass ;
11
+ import org .junit .Assume ;
7
12
import org .junit .BeforeClass ;
8
13
import org .junit .Test ;
9
14
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 . */
11
16
public class ItSitConfigDomainInPV extends SitConfig {
12
17
13
18
/**
@@ -48,7 +53,11 @@ public static void staticUnPrepare() throws Exception {
48
53
*/
49
54
@ Test
50
55
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 );
52
61
}
53
62
54
63
/**
@@ -62,7 +71,11 @@ public void testCustomSitConfigOverridesForDomainInPV() throws Exception {
62
71
*/
63
72
@ Test
64
73
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 );
66
79
}
67
80
68
81
/**
@@ -81,7 +94,11 @@ public void testCustomSitConfigOverridesForDomainMSInPV() throws Exception {
81
94
*/
82
95
@ Test
83
96
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 );
85
102
}
86
103
87
104
/**
@@ -96,7 +113,11 @@ public void testCustomSitConfigOverridesForJdbcInPV() throws Exception {
96
113
*/
97
114
@ Test
98
115
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 );
100
121
}
101
122
102
123
/**
@@ -113,7 +134,11 @@ public void testCustomSitConfigOverridesForJmsInPV() throws Exception {
113
134
*/
114
135
@ Test
115
136
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 );
117
142
}
118
143
119
144
/**
@@ -125,7 +150,11 @@ public void testCustomSitConfigOverridesForWldfInPV() throws Exception {
125
150
*/
126
151
@ Test
127
152
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 );
129
158
}
130
159
131
160
/**
@@ -137,7 +166,11 @@ public void testConfigOverrideAfterDomainStartupInPV() throws Exception {
137
166
*/
138
167
@ Test
139
168
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 );
141
174
}
142
175
143
176
/**
@@ -148,6 +181,10 @@ public void testOverrideJdbcResourceAfterDomainStartInPV() throws Exception {
148
181
*/
149
182
@ Test
150
183
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 );
152
189
}
153
190
}
0 commit comments