Skip to content

Commit 6d993cd

Browse files
committed
add logging
1 parent 3fe4b20 commit 6d993cd

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import static org.junit.Assert.assertTrue;
77

88
import java.io.IOException;
9-
import java.nio.charset.StandardCharsets;
109
import java.nio.file.Files;
1110
import java.nio.file.Paths;
1211
import java.nio.file.StandardCopyOption;
@@ -250,8 +249,6 @@ private void addCluster2ToDomainTemplate(Map<String, Object> domainMap) throws I
250249
Paths.get(template), Paths.get(customDomainTemplate), StandardCopyOption.REPLACE_EXISTING);
251250
Files.write(Paths.get(customDomainTemplate), add.getBytes(), StandardOpenOption.APPEND);
252251
domainMap.put("customDomainTemplate", customDomainTemplate);
253-
byte[] readAllBytes = Files.readAllBytes(Paths.get(customDomainTemplate));
254-
logger.info(new String(readAllBytes, StandardCharsets.UTF_8));
255252
}
256253

257254
/**

integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import java.io.FilenameFilter;
1010
import java.io.IOException;
1111
import java.io.InputStream;
12+
import java.nio.charset.StandardCharsets;
1213
import java.nio.file.Files;
1314
import java.nio.file.Path;
1415
import java.nio.file.Paths;
@@ -1398,6 +1399,11 @@ protected void initialize(Map<String, Object> inputDomainMap) throws Exception {
13981399
Paths.get(BaseTest.getResultDir() + "/samples/scripts/common/domain-template.yaml"),
13991400
StandardCopyOption.REPLACE_EXISTING);
14001401
}
1402+
logger.info("Domain Template");
1403+
byte[] readAllBytes =
1404+
Files.readAllBytes(
1405+
Paths.get(BaseTest.getResultDir() + "/samples/scripts/common/domain-template.yaml"));
1406+
logger.info(new String(readAllBytes, StandardCharsets.UTF_8));
14011407

14021408
this.voyager =
14031409
(System.getenv("LB_TYPE") != null && System.getenv("LB_TYPE").equalsIgnoreCase("VOYAGER"))

0 commit comments

Comments
 (0)