8
8
import oracle .kubernetes .operator .utils .Operator ;
9
9
import oracle .kubernetes .operator .utils .TestUtils ;
10
10
import org .junit .AfterClass ;
11
+ import org .junit .Assume ;
11
12
import org .junit .BeforeClass ;
12
13
import org .junit .FixMethodOrder ;
13
14
import org .junit .Test ;
@@ -79,7 +80,7 @@ public void test1CreateOperatorManagingDefaultAndTest1NS() throws Exception {
79
80
logger .info ("Creating Operator & waiting for the script to complete execution" );
80
81
// create operator1
81
82
operator1 = TestUtils .createOperator (op1PropsFile );
82
- logger .info ("SUCCESS" );
83
+ logger .info ("SUCCESS" );
83
84
}
84
85
85
86
@ Test
@@ -96,6 +97,9 @@ public void test2CreateDomainInDefaultNS() throws Exception {
96
97
97
98
@ Test
98
99
public void test3CreateAnotherDomainInDefaultNS () throws Exception {
100
+ Assume .assumeFalse (
101
+ System .getenv ("QUICKTEST" ) != null && System .getenv ("QUICKTEST" ).equalsIgnoreCase ("true" ));
102
+
99
103
logTestBegin ("test3CreateAnotherDomainInDefaultNS" );
100
104
logger .info ("Creating Domain domain2 & verifing the domain creation" );
101
105
// create domain2
@@ -108,6 +112,9 @@ public void test3CreateAnotherDomainInDefaultNS() throws Exception {
108
112
109
113
@ Test
110
114
public void test4CreateDomainInTest1NS () throws Exception {
115
+ Assume .assumeFalse (
116
+ System .getenv ("QUICKTEST" ) != null && System .getenv ("QUICKTEST" ).equalsIgnoreCase ("true" ));
117
+
111
118
logTestBegin ("test4CreateDomainInTest1NS" );
112
119
logger .info ("Creating Domain domain3 & verifing the domain creation" );
113
120
// create domain3
@@ -117,6 +124,9 @@ public void test4CreateDomainInTest1NS() throws Exception {
117
124
118
125
@ Test
119
126
public void test5CreateAnotherOperatorManagingTest2NS () throws Exception {
127
+ Assume .assumeFalse (
128
+ System .getenv ("QUICKTEST" ) != null && System .getenv ("QUICKTEST" ).equalsIgnoreCase ("true" ));
129
+
120
130
logTestBegin ("test5CreateAnotherOperatorManagingTest2NS" );
121
131
logger .info ("Creating Operator & waiting for the script to complete execution" );
122
132
// create operator2
@@ -126,6 +136,9 @@ public void test5CreateAnotherOperatorManagingTest2NS() throws Exception {
126
136
127
137
@ Test
128
138
public void test6CreateConfiguredDomainInTest2NS () throws Exception {
139
+ Assume .assumeFalse (
140
+ System .getenv ("QUICKTEST" ) != null && System .getenv ("QUICKTEST" ).equalsIgnoreCase ("true" ));
141
+
129
142
logTestBegin ("test6CreateDomainInTest2NS" );
130
143
logger .info ("Creating Domain domain4 & verifing the domain creation" );
131
144
// create domain4
@@ -150,6 +163,9 @@ public void test6CreateConfiguredDomainInTest2NS() throws Exception {
150
163
151
164
@ Test
152
165
public void test7CreateDomainWithStartupControlAdmin () throws Exception {
166
+ Assume .assumeFalse (
167
+ System .getenv ("QUICKTEST" ) != null && System .getenv ("QUICKTEST" ).equalsIgnoreCase ("true" ));
168
+
153
169
logTestBegin ("test7CreateDomainWithStartupControlAdmin" );
154
170
logger .info ("Creating Domain domain5 & verifing the domain creation" );
155
171
// create domain5
@@ -159,6 +175,9 @@ public void test7CreateDomainWithStartupControlAdmin() throws Exception {
159
175
160
176
@ Test
161
177
public void test8CreateDomainPVReclaimPolicyRecycle () throws Exception {
178
+ Assume .assumeFalse (
179
+ System .getenv ("QUICKTEST" ) != null && System .getenv ("QUICKTEST" ).equalsIgnoreCase ("true" ));
180
+
162
181
logTestBegin ("test8CreateDomainPVReclaimPolicyRecycle" );
163
182
logger .info ("Creating Domain domain6 & verifing the domain creation" );
164
183
// create domain6
@@ -170,6 +189,9 @@ public void test8CreateDomainPVReclaimPolicyRecycle() throws Exception {
170
189
171
190
@ Test
172
191
public void test9WlsLivenessProbe () throws Exception {
192
+ Assume .assumeFalse (
193
+ System .getenv ("QUICKTEST" ) != null && System .getenv ("QUICKTEST" ).equalsIgnoreCase ("true" ));
194
+
173
195
logTestBegin ("test9WlsLivenessProbe" );
174
196
// test managed server1 pod auto restart
175
197
String domain = domain1 .getDomainUid ();
@@ -181,6 +203,9 @@ public void test9WlsLivenessProbe() throws Exception {
181
203
182
204
@ Test
183
205
public void testACreateDomainOnExistingDir () throws Exception {
206
+ Assume .assumeFalse (
207
+ System .getenv ("QUICKTEST" ) != null && System .getenv ("QUICKTEST" ).equalsIgnoreCase ("true" ));
208
+
184
209
logTestBegin ("test10CreateDomainOnExistingDir" );
185
210
logger .info ("domain1 " + domain1 );
186
211
// create domain on existing dir
@@ -191,6 +216,8 @@ public void testACreateDomainOnExistingDir() throws Exception {
191
216
192
217
@ Test
193
218
public void testBCreateDomainApacheLB () throws Exception {
219
+ Assume .assumeFalse (
220
+ System .getenv ("QUICKTEST" ) != null && System .getenv ("QUICKTEST" ).equalsIgnoreCase ("true" ));
194
221
logTestBegin ("test11CreateDomainApacheLB" );
195
222
logger .info ("Creating Domain domain7 & verifing the domain creation" );
196
223
// create domain7
0 commit comments