@@ -38,9 +38,10 @@ public class ITUsabilityOperatorHelmChart extends BaseTest {
38
38
*/
39
39
@ BeforeClass
40
40
public static void staticPrepare () throws Exception {
41
- Assume .assumeFalse (QUICKTEST );
42
- // initialize test properties and create the directories
43
- initialize (APP_PROPS_FILE );
41
+ if (!QUICKTEST ) {
42
+ // initialize test properties and create the directories
43
+ initialize (APP_PROPS_FILE );
44
+ }
44
45
}
45
46
46
47
/**
@@ -50,14 +51,15 @@ public static void staticPrepare() throws Exception {
50
51
*/
51
52
@ AfterClass
52
53
public static void staticUnPrepare () throws Exception {
53
- Assume . assumeFalse ( QUICKTEST );
54
- logger .info ("+++++++++++++++++++++++++++++++++---------------------------------+" );
55
- logger .info ("BEGIN" );
56
- logger .info ("Run once, release cluster lease" );
54
+ if (! QUICKTEST ) {
55
+ logger .info ("+++++++++++++++++++++++++++++++++---------------------------------+" );
56
+ logger .info ("BEGIN" );
57
+ logger .info ("Run once, release cluster lease" );
57
58
58
- tearDown ();
59
+ tearDown ();
59
60
60
- logger .info ("SUCCESS" );
61
+ logger .info ("SUCCESS" );
62
+ }
61
63
}
62
64
63
65
/**
@@ -67,6 +69,7 @@ public static void staticUnPrepare() throws Exception {
67
69
*/
68
70
@ Test
69
71
public void testOperatorCreateDeleteCreate () throws Exception {
72
+ Assume .assumeFalse (QUICKTEST );
70
73
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
71
74
logTestBegin (testMethodName );
72
75
Operator firstoperator = null ;
@@ -119,7 +122,7 @@ public void testOperatorCreateDeleteCreate() throws Exception {
119
122
*/
120
123
@ Test
121
124
public void testCreateSecondOperatorUsingSameOperatorNSNegativeInstall () throws Exception {
122
-
125
+ Assume . assumeFalse ( QUICKTEST );
123
126
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
124
127
logTestBegin (testMethodName );
125
128
Operator firstoperator = null ;
@@ -176,7 +179,7 @@ public void testCreateSecondOperatorUsingSameOperatorNSNegativeInstall() throws
176
179
*/
177
180
@ Test
178
181
public void testNotPreCreatedOpNSCreateOperatorNegativeInstall () throws Exception {
179
-
182
+ Assume . assumeFalse ( QUICKTEST );
180
183
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
181
184
logTestBegin (testMethodName );
182
185
Operator operator = null ;
@@ -212,7 +215,7 @@ public void testNotPreCreatedOpNSCreateOperatorNegativeInstall() throws Exceptio
212
215
*/
213
216
@ Test
214
217
public void testNotPreexistedOpServiceAccountCreateOperatorNegativeInstall () throws Exception {
215
-
218
+ Assume . assumeFalse ( QUICKTEST );
216
219
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
217
220
logTestBegin (testMethodName );
218
221
Operator operator = null ;
@@ -269,7 +272,7 @@ public void testNotPreexistedOpServiceAccountCreateOperatorNegativeInstall() thr
269
272
*/
270
273
@ Test
271
274
public void testSecondOpSharingSameTargetDomainsNSNegativeInstall () throws Exception {
272
-
275
+ Assume . assumeFalse ( QUICKTEST );
273
276
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
274
277
logTestBegin (testMethodName );
275
278
Operator secondoperator = null ;
@@ -329,7 +332,7 @@ public void testSecondOpSharingSameTargetDomainsNSNegativeInstall() throws Excep
329
332
*/
330
333
@ Test
331
334
public void testTargetNSIsNotPreexistedNegativeInstall () throws Exception {
332
-
335
+ Assume . assumeFalse ( QUICKTEST );
333
336
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
334
337
logTestBegin (testMethodName );
335
338
Operator operator = null ;
@@ -379,7 +382,7 @@ public void testTargetNSIsNotPreexistedNegativeInstall() throws Exception {
379
382
*/
380
383
@ Test
381
384
public void testSecondOpSharingSameExternalRestPortNegativeInstall () throws Exception {
382
-
385
+ Assume . assumeFalse ( QUICKTEST );
383
386
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
384
387
logTestBegin (testMethodName );
385
388
Operator operator1 = null ;
@@ -439,7 +442,7 @@ public void testSecondOpSharingSameExternalRestPortNegativeInstall() throws Exce
439
442
*/
440
443
@ Test
441
444
public void testCreateWithUpperCaseTargetDomainNegativeInstall () throws Exception {
442
-
445
+ Assume . assumeFalse ( QUICKTEST );
443
446
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
444
447
logTestBegin (testMethodName );
445
448
Operator operator = null ;
@@ -485,7 +488,7 @@ public void testCreateWithUpperCaseTargetDomainNegativeInstall() throws Exceptio
485
488
*/
486
489
@ Test
487
490
public void testCreateChartWithInvalidAttributesNegativeInstall () throws Exception {
488
-
491
+ Assume . assumeFalse ( QUICKTEST );
489
492
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
490
493
logTestBegin (testMethodName );
491
494
Operator operator = null ;
@@ -536,7 +539,7 @@ public void testCreateChartWithInvalidAttributesNegativeInstall() throws Excepti
536
539
*/
537
540
@ Test
538
541
public void testCreateWithEmptyTargetDomainInstall () throws Exception {
539
-
542
+ Assume . assumeFalse ( QUICKTEST );
540
543
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
541
544
logTestBegin (testMethodName );
542
545
Operator operator = null ;
@@ -558,7 +561,7 @@ public void testCreateWithEmptyTargetDomainInstall() throws Exception {
558
561
}
559
562
560
563
private void upgradeOperator (Operator operator , String upgradeSet ) throws Exception {
561
-
564
+ Assume . assumeFalse ( QUICKTEST );
562
565
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
563
566
logTestBegin (testMethodName );
564
567
operator .callHelmUpgrade (upgradeSet );
@@ -572,7 +575,7 @@ private void upgradeOperator(Operator operator, String upgradeSet) throws Except
572
575
*/
573
576
@ Test
574
577
public void testCreateWithDefaultTargetDomainInstall () throws Exception {
575
-
578
+ Assume . assumeFalse ( QUICKTEST );
576
579
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
577
580
logTestBegin (testMethodName );
578
581
Operator operator = null ;
0 commit comments