@@ -45,18 +45,22 @@ public class ITMultipleClusters extends BaseTest {
45
45
*/
46
46
@ BeforeClass
47
47
public static void staticPrepare () throws Exception {
48
- // initialize test properties and create the directories
49
- initialize (APP_PROPS_FILE );
50
- String template =
51
- BaseTest .getProjectRoot () + "/kubernetes/samples/scripts/common/domain-template.yaml" ;
52
- String add =
53
- " - clusterName: %CLUSTER_NAME%-2\n "
54
- + " serverStartState: \" RUNNING\" \n "
55
- + " replicas: %INITIAL_MANAGED_SERVER_REPLICAS%\n " ;
56
- customDomainTemplate = BaseTest .getResultDir () + "/customDomainTemplate.yaml" ;
57
- Files .copy (
58
- Paths .get (template ), Paths .get (customDomainTemplate ), StandardCopyOption .REPLACE_EXISTING );
59
- Files .write (Paths .get (customDomainTemplate ), add .getBytes (), StandardOpenOption .APPEND );
48
+ if (!QUICKTEST ) {
49
+ // initialize test properties and create the directories
50
+ initialize (APP_PROPS_FILE );
51
+ String template =
52
+ BaseTest .getProjectRoot () + "/kubernetes/samples/scripts/common/domain-template.yaml" ;
53
+ String add =
54
+ " - clusterName: %CLUSTER_NAME%-2\n "
55
+ + " serverStartState: \" RUNNING\" \n "
56
+ + " replicas: %INITIAL_MANAGED_SERVER_REPLICAS%\n " ;
57
+ customDomainTemplate = BaseTest .getResultDir () + "/customDomainTemplate.yaml" ;
58
+ Files .copy (
59
+ Paths .get (template ),
60
+ Paths .get (customDomainTemplate ),
61
+ StandardCopyOption .REPLACE_EXISTING );
62
+ Files .write (Paths .get (customDomainTemplate ), add .getBytes (), StandardOpenOption .APPEND );
63
+ }
60
64
}
61
65
62
66
/**
@@ -66,13 +70,14 @@ public static void staticPrepare() throws Exception {
66
70
*/
67
71
@ AfterClass
68
72
public static void staticUnPrepare () throws Exception {
69
- logger .info ("+++++++++++++++++++++++++++++++++---------------------------------+" );
70
- logger .info ("BEGIN" );
71
- logger .info ("Run once, release cluster lease" );
72
- tearDown (new Object () {}.getClass ().getEnclosingClass ().getSimpleName ());
73
- logger .info ("SUCCESS" );
73
+ if (!QUICKTEST ) {
74
+ logger .info ("+++++++++++++++++++++++++++++++++---------------------------------+" );
75
+ logger .info ("BEGIN" );
76
+ logger .info ("Run once, release cluster lease" );
77
+ tearDown (new Object () {}.getClass ().getEnclosingClass ().getSimpleName ());
78
+ logger .info ("SUCCESS" );
79
+ }
74
80
}
75
-
76
81
/**
77
82
* Create 2 configured clusters in a domain each having 2 managed servers. Verify the managed
78
83
* servers are running and verify the basic use cases.
@@ -81,6 +86,7 @@ public static void staticUnPrepare() throws Exception {
81
86
*/
82
87
@ Test
83
88
public void testCreateDomainTwoConfiguredCluster () throws Exception {
89
+ Assume .assumeFalse (QUICKTEST );
84
90
85
91
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
86
92
logTestBegin (testMethodName );
@@ -138,6 +144,7 @@ public void testCreateDomainTwoConfiguredCluster() throws Exception {
138
144
*/
139
145
@ Test
140
146
public void testCreateDomainTwoMixedCluster () throws Exception {
147
+ Assume .assumeFalse (QUICKTEST );
141
148
String DOMAINUID = "twomixedclusterdomain" ;
142
149
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
143
150
logTestBegin (testMethodName );
@@ -194,6 +201,7 @@ public void testCreateDomainTwoMixedCluster() throws Exception {
194
201
*/
195
202
@ Test
196
203
public void testCreateDomainTwoClusterWDTInImage () throws Exception {
204
+ Assume .assumeFalse (QUICKTEST );
197
205
String DOMAINUID = "twoclusterdomainwdt" ;
198
206
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
199
207
logTestBegin (testMethodName );
0 commit comments