@@ -51,25 +51,25 @@ public class ItPodsRestart extends BaseTest {
51
51
*/
52
52
@ BeforeClass
53
53
public static void staticPrepare () throws Exception {
54
- // initialize test properties and create the directories
54
+ // initialize test properties and create the directories
55
55
if (!QUICKTEST ) {
56
- initialize (APP_PROPS_FILE );
57
-
58
- logger .info ("Checking if operator1 and domain are running, if not creating" );
59
- if (operator1 == null ) {
60
- operator1 = TestUtils .createOperator (OPERATOR1_YAML );
61
- }
62
- restartTmpDir = BaseTest .getResultDir () + "/restarttemp" ;
63
- Files .createDirectories (Paths .get (restartTmpDir ));
64
-
65
- domain = createPodsRestartdomain ();
66
- originalYaml =
67
- BaseTest .getUserProjectsDir ()
68
- + "/weblogic-domains/"
69
- + domain .getDomainUid ()
70
- + "/domain.yaml" ;
71
- Assert .assertNotNull (domain );
72
- }
56
+ initialize (APP_PROPS_FILE );
57
+
58
+ logger .info ("Checking if operator1 and domain are running, if not creating" );
59
+ if (operator1 == null ) {
60
+ operator1 = TestUtils .createOperator (OPERATOR1_YAML );
61
+ }
62
+ restartTmpDir = BaseTest .getResultDir () + "/restarttemp" ;
63
+ Files .createDirectories (Paths .get (restartTmpDir ));
64
+
65
+ domain = createPodsRestartdomain ();
66
+ originalYaml =
67
+ BaseTest .getUserProjectsDir ()
68
+ + "/weblogic-domains/"
69
+ + domain .getDomainUid ()
70
+ + "/domain.yaml" ;
71
+ Assert .assertNotNull (domain );
72
+ }
73
73
}
74
74
75
75
/**
@@ -80,15 +80,15 @@ public static void staticPrepare() throws Exception {
80
80
@ AfterClass
81
81
public static void staticUnPrepare () throws Exception {
82
82
if (!QUICKTEST ) {
83
- logger .info ("+++++++++++++++++++++++++++++++++---------------------------------+" );
84
- logger .info ("BEGIN" );
85
- logger .info ("Run once, release cluster lease" );
83
+ logger .info ("+++++++++++++++++++++++++++++++++---------------------------------+" );
84
+ logger .info ("BEGIN" );
85
+ logger .info ("Run once, release cluster lease" );
86
86
87
- destroyPodsRestartdomain ();
88
- tearDown (new Object () {}.getClass ().getEnclosingClass ().getSimpleName ());
87
+ destroyPodsRestartdomain ();
88
+ tearDown (new Object () {}.getClass ().getEnclosingClass ().getSimpleName ());
89
89
90
- logger .info ("SUCCESS" );
91
- }
90
+ logger .info ("SUCCESS" );
91
+ }
92
92
}
93
93
94
94
private static Domain createPodsRestartdomain () throws Exception {
0 commit comments