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