Skip to content

Commit b42cd8f

Browse files
authored
WIP: Add some debugging for ITElasticLogging test (#1601)
* add some debugging * fix checkstyle errors * fix logging test
1 parent 3f186bf commit b42cd8f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ public void prepare() throws Exception {
166166

167167
// Create a dir to hold required WebLogic logging exporter archive files
168168
loggingExpArchiveLoc = getResultDir() + "/loggingExpArchDir";
169+
LoggerHelper.getLocal().log(Level.INFO,"In prepare, attempting to create directory " + loggingExpArchiveLoc);
169170
Files.createDirectories(Paths.get(loggingExpArchiveLoc));
170171
}
171172
}
@@ -424,7 +425,7 @@ private static String execLoggingExpStatusCheck(String indexName, String varLoc)
424425

425426
int i = 0;
426427
while (i < BaseTest.getMaxIterationsPod()) {
427-
result = TestUtils.exec(cmd);
428+
result = ExecCommand.exec(cmd);
428429
LoggerHelper.getLocal().log(Level.INFO, "Result: " + result.stdout());
429430
if (null != result.stdout()) {
430431
break;
@@ -521,6 +522,8 @@ private String execSearchQuery(String queryCriteria, String index)
521522
}
522523

523524
private void downloadWlsLoggingExporterJars() throws Exception {
525+
LoggerHelper.getLocal().log(Level.INFO,
526+
"In downloadWlsLoggingExporterJars, attempting to get file " + loggingExpArchiveLoc);
524527
File loggingJatReposDir = new File(loggingExpArchiveLoc);
525528
File wlsLoggingExpFile =
526529
new File(loggingExpArchiveLoc + "/" + wlsLoggingExpJar);

0 commit comments

Comments
 (0)