@@ -52,8 +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 ) {
56
- // if (!QUICKTEST) {
55
+ // if (QUICKTEST) {
56
+ if (!QUICKTEST ) {
57
57
initialize (APP_PROPS_FILE );
58
58
59
59
logger .info ("Checking if operator1 and domain are running, if not creating" );
@@ -80,8 +80,8 @@ public static void staticPrepare() throws Exception {
80
80
*/
81
81
@ AfterClass
82
82
public static void staticUnPrepare () throws Exception {
83
- if (QUICKTEST ) {
84
- // if (!QUICKTEST) {
83
+ // if (QUICKTEST) {
84
+ if (!QUICKTEST ) {
85
85
logger .info ("+++++++++++++++++++++++++++++++++---------------------------------+" );
86
86
logger .info ("BEGIN" );
87
87
logger .info ("Run once, release cluster lease" );
@@ -123,7 +123,7 @@ private static void destroyPodsRestartdomain() throws Exception {
123
123
*/
124
124
@ Test
125
125
public void testServerPodsRestartByChangingEnvProperty () throws Exception {
126
- Assume .assumeTrue (QUICKTEST );
126
+ Assume .Assume . assumeFalse (QUICKTEST );
127
127
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
128
128
logTestBegin (testMethodName );
129
129
@@ -146,7 +146,7 @@ public void testServerPodsRestartByChangingEnvProperty() throws Exception {
146
146
*/
147
147
@ Test
148
148
public void testServerPodsRestartByChangingLogHomeEnabled () throws Exception {
149
- Assume .assumeTrue (QUICKTEST );
149
+ Assume .Assume . assumeFalse (QUICKTEST );
150
150
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
151
151
logTestBegin (testMethodName );
152
152
@@ -168,7 +168,7 @@ public void testServerPodsRestartByChangingLogHomeEnabled() throws Exception {
168
168
*/
169
169
@ Test
170
170
public void testServerPodsRestartByChangingImagePullPolicy () throws Exception {
171
- Assume .assumeTrue (QUICKTEST );
171
+ Assume .Assume . assumeFalse (QUICKTEST );
172
172
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
173
173
logTestBegin (testMethodName );
174
174
@@ -191,7 +191,7 @@ public void testServerPodsRestartByChangingImagePullPolicy() throws Exception {
191
191
*/
192
192
@ Test
193
193
public void testServerPodsRestartByChangingIncludeServerOutInPodLog () throws Exception {
194
- Assume .assumeTrue (QUICKTEST );
194
+ Assume .Assume . assumeFalse (QUICKTEST );
195
195
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
196
196
logTestBegin (testMethodName );
197
197
@@ -215,7 +215,7 @@ public void testServerPodsRestartByChangingIncludeServerOutInPodLog() throws Exc
215
215
*/
216
216
@ Test
217
217
public void testServerPodsRestartByChangingZImage () throws Exception {
218
- Assume .assumeTrue (QUICKTEST );
218
+ Assume .Assume . assumeFalse (QUICKTEST );
219
219
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
220
220
logTestBegin (testMethodName );
221
221
@@ -292,7 +292,7 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
292
292
*/
293
293
@ Test
294
294
public void testServerPodsRestartByChangingContSecurityContext () throws Exception {
295
- Assume .assumeTrue (QUICKTEST );
295
+ Assume .Assume . assumeFalse (QUICKTEST );
296
296
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
297
297
logTestBegin (testMethodName );
298
298
@@ -329,7 +329,7 @@ public void testServerPodsRestartByChangingContSecurityContext() throws Exceptio
329
329
*/
330
330
@ Test
331
331
public void testServerPodsRestartByChangingPodSecurityContext () throws Exception {
332
- Assume .assumeTrue (QUICKTEST );
332
+ Assume .Assume . assumeFalse (QUICKTEST );
333
333
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
334
334
logTestBegin (testMethodName );
335
335
@@ -367,7 +367,7 @@ public void testServerPodsRestartByChangingPodSecurityContext() throws Exception
367
367
*/
368
368
@ Test
369
369
public void testServerPodsRestartByChangingResource () throws Exception {
370
- Assume .assumeTrue (QUICKTEST );
370
+ Assume .Assume . assumeFalse (QUICKTEST );
371
371
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
372
372
logTestBegin (testMethodName );
373
373
@@ -402,7 +402,7 @@ public void testServerPodsRestartByChangingResource() throws Exception {
402
402
*/
403
403
@ Test
404
404
public void testAdminServerRestartVersion () throws Exception {
405
- Assume .assumeTrue (QUICKTEST );
405
+ Assume .Assume . assumeFalse (QUICKTEST );
406
406
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
407
407
logTestBegin (testMethodName );
408
408
String podName = domainUid + "-" + domain .getAdminServerName ();
@@ -448,7 +448,7 @@ public void testAdminServerRestartVersion() throws Exception {
448
448
*/
449
449
@ Test
450
450
public void testClusterRestartVersion () throws Exception {
451
- Assume .assumeTrue (QUICKTEST );
451
+ Assume .Assume . assumeFalse (QUICKTEST );
452
452
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
453
453
logTestBegin (testMethodName );
454
454
String podName = domainUid + "-managed-server1" ;
@@ -495,7 +495,7 @@ public void testClusterRestartVersion() throws Exception {
495
495
*/
496
496
@ Test
497
497
public void testMsRestartVersion () throws Exception {
498
- Assume .assumeTrue (QUICKTEST );
498
+ Assume .Assume . assumeFalse (QUICKTEST );
499
499
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
500
500
logTestBegin (testMethodName );
501
501
String podName = domainUid + "-managed-server1" ;
@@ -540,9 +540,9 @@ public void testMsRestartVersion() throws Exception {
540
540
* @throws Exception when domain.yaml cannot be read or modified to include the
541
541
* restartVersion:v1.1
542
542
*/
543
- // @Test
543
+ @ Test
544
544
public void testDomainRestartVersion () throws Exception {
545
- Assume .assumeTrue (QUICKTEST );
545
+ Assume .Assume . assumeFalse (QUICKTEST );
546
546
String testMethodName = new Object () {}.getClass ().getEnclosingMethod ().getName ();
547
547
logTestBegin (testMethodName );
548
548
String adminPod = domainUid + "-" + domain .getAdminServerName ();
0 commit comments