Skip to content

Commit 9128f5c

Browse files
committed
fix the format
1 parent 60e66eb commit 9128f5c

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ItPodsRestart.java

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,25 @@ public class ItPodsRestart extends BaseTest {
5151
*/
5252
@BeforeClass
5353
public static void staticPrepare() throws Exception {
54-
// initialize test properties and create the directories
54+
// initialize test properties and create the directories
5555
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+
}
7373
}
7474

7575
/**
@@ -80,15 +80,15 @@ public static void staticPrepare() throws Exception {
8080
@AfterClass
8181
public static void staticUnPrepare() throws Exception {
8282
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");
8686

87-
destroyPodsRestartdomain();
88-
tearDown(new Object() {}.getClass().getEnclosingClass().getSimpleName());
87+
destroyPodsRestartdomain();
88+
tearDown(new Object() {}.getClass().getEnclosingClass().getSimpleName());
8989

90-
logger.info("SUCCESS");
91-
}
90+
logger.info("SUCCESS");
91+
}
9292
}
9393

9494
private static Domain createPodsRestartdomain() throws Exception {

0 commit comments

Comments
 (0)