Skip to content

Commit 9518fde

Browse files
committed
Added 30 sec sleep time to wait for WLS logs to be pushed to ELK Stack jenkins-ignore
1 parent a2869d8 commit 9518fde

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ public void testWeblogicLogSearch() throws Exception {
183183
String managedServerNameBase = domainMap.get("managedServerNameBase").toString();
184184
String managedServerPodName = domainUid + "-" + managedServerNameBase + "1";
185185

186+
// Wait 30 seconds for WLS log to be pushed to ELK Stack
187+
logger.info("Wait 30 seconds for WLS log to be pushed to ELK Stack");
188+
Thread.sleep(30 * 1000);
189+
186190
// Verify that log hits for admin server are not empty
187191
String regex = ".*took\":(\\d+),.*hits\":\\{(.+)\\}";
188192
String queryCriteria = "/_search?q=log:" + adminServerPodName + " | grep RUNNING";

0 commit comments

Comments
 (0)