@@ -52,7 +52,8 @@ public class ItPodsRestart extends BaseTest {
52
52
@ BeforeClass
53
53
public static void staticPrepare () throws Exception {
54
54
// initialize test properties and create the directories
55
- if (!QUICKTEST ) {
55
+ if (QUICKTEST ) {
56
+ //if (!QUICKTEST) {
56
57
initialize (APP_PROPS_FILE );
57
58
58
59
logger .info ("Checking if operator1 and domain are running, if not creating" );
@@ -79,7 +80,8 @@ public static void staticPrepare() throws Exception {
79
80
*/
80
81
@ AfterClass
81
82
public static void staticUnPrepare () throws Exception {
82
- if (!QUICKTEST ) {
83
+ if (QUICKTEST ) {
84
+ //if (!QUICKTEST) {
83
85
logger .info ("+++++++++++++++++++++++++++++++++---------------------------------+" );
84
86
logger .info ("BEGIN" );
85
87
logger .info ("Run once, release cluster lease" );
@@ -121,7 +123,7 @@ private static void destroyPodsRestartdomain() throws Exception {
121
123
*/
122
124
@ Test
123
125
public void testServerPodsRestartByChangingEnvProperty () throws Exception {
124
- Assume .assumeFalse (QUICKTEST );
126
+ Assume .assumeTrue (QUICKTEST );
125
127
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
126
128
logTestBegin (testMethodName );
127
129
@@ -144,7 +146,7 @@ public void testServerPodsRestartByChangingEnvProperty() throws Exception {
144
146
*/
145
147
@ Test
146
148
public void testServerPodsRestartByChangingLogHomeEnabled () throws Exception {
147
- Assume .assumeFalse (QUICKTEST );
149
+ Assume .assumeTrue (QUICKTEST );
148
150
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
149
151
logTestBegin (testMethodName );
150
152
@@ -166,7 +168,7 @@ public void testServerPodsRestartByChangingLogHomeEnabled() throws Exception {
166
168
*/
167
169
@ Test
168
170
public void testServerPodsRestartByChangingImagePullPolicy () throws Exception {
169
- Assume .assumeFalse (QUICKTEST );
171
+ Assume .assumeTrue (QUICKTEST );
170
172
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
171
173
logTestBegin (testMethodName );
172
174
@@ -189,7 +191,7 @@ public void testServerPodsRestartByChangingImagePullPolicy() throws Exception {
189
191
*/
190
192
@ Test
191
193
public void testServerPodsRestartByChangingIncludeServerOutInPodLog () throws Exception {
192
- Assume .assumeFalse (QUICKTEST );
194
+ Assume .assumeTrue (QUICKTEST );
193
195
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
194
196
logTestBegin (testMethodName );
195
197
@@ -213,7 +215,7 @@ public void testServerPodsRestartByChangingIncludeServerOutInPodLog() throws Exc
213
215
*/
214
216
@ Test
215
217
public void testServerPodsRestartByChangingZImage () throws Exception {
216
- Assume .assumeFalse (QUICKTEST );
218
+ Assume .assumeTrue (QUICKTEST );
217
219
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
218
220
logTestBegin (testMethodName );
219
221
@@ -289,7 +291,7 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
289
291
*/
290
292
@ Test
291
293
public void testServerPodsRestartByChangingContSecurityContext () throws Exception {
292
- Assume .assumeFalse (QUICKTEST );
294
+ Assume .assumeTrue (QUICKTEST );
293
295
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
294
296
logTestBegin (testMethodName );
295
297
@@ -326,7 +328,7 @@ public void testServerPodsRestartByChangingContSecurityContext() throws Exceptio
326
328
*/
327
329
@ Test
328
330
public void testServerPodsRestartByChangingPodSecurityContext () throws Exception {
329
- Assume .assumeFalse (QUICKTEST );
331
+ Assume .assumeTrue (QUICKTEST );
330
332
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
331
333
logTestBegin (testMethodName );
332
334
@@ -364,7 +366,7 @@ public void testServerPodsRestartByChangingPodSecurityContext() throws Exception
364
366
*/
365
367
@ Test
366
368
public void testServerPodsRestartByChangingResource () throws Exception {
367
- Assume .assumeFalse (QUICKTEST );
369
+ Assume .assumeTrue (QUICKTEST );
368
370
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
369
371
logTestBegin (testMethodName );
370
372
@@ -399,7 +401,7 @@ public void testServerPodsRestartByChangingResource() throws Exception {
399
401
*/
400
402
@ Test
401
403
public void testAdminServerRestartVersion () throws Exception {
402
- Assume .assumeFalse (QUICKTEST );
404
+ Assume .assumeTrue (QUICKTEST );
403
405
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
404
406
logTestBegin (testMethodName );
405
407
String podName = domainUid + "-" + domain .getAdminServerName ();
@@ -445,7 +447,7 @@ public void testAdminServerRestartVersion() throws Exception {
445
447
*/
446
448
@ Test
447
449
public void testClusterRestartVersion () throws Exception {
448
- Assume .assumeFalse (QUICKTEST );
450
+ Assume .assumeTrue (QUICKTEST );
449
451
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
450
452
logTestBegin (testMethodName );
451
453
String podName = domainUid + "-managed-server1" ;
@@ -492,7 +494,7 @@ public void testClusterRestartVersion() throws Exception {
492
494
*/
493
495
// @Test
494
496
public void testMsRestartVersion () throws Exception {
495
- Assume .assumeFalse (QUICKTEST );
497
+ Assume .assumeTrue (QUICKTEST );
496
498
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
497
499
logTestBegin (testMethodName );
498
500
String podName = domainUid + "-managed-server1" ;
@@ -539,7 +541,7 @@ public void testMsRestartVersion() throws Exception {
539
541
*/
540
542
@ Test
541
543
public void testDomainRestartVersion () throws Exception {
542
- Assume .assumeFalse (QUICKTEST );
544
+ Assume .assumeTrue (QUICKTEST );
543
545
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
544
546
logTestBegin (testMethodName );
545
547
String adminPod = domainUid + "-" + domain .getAdminServerName ();
0 commit comments