Skip to content

Commit

Permalink
Update APILoggingTest
Browse files Browse the repository at this point in the history
Add verification for correlationId existence in API logs
  • Loading branch information
SavinduDimal committed Jul 25, 2023
1 parent a5720cd commit d10ff13
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public void testAPIPerAPILoggingTestcase() throws Exception {
String logLine;
while ((logLine = bufferedReader.readLine()) != null) {
assertTrue(logLine.contains("INFO {API_LOG} " + API_NAME));
assertTrue(logLine.contains("correlationId"));
}
}

Expand Down

0 comments on commit d10ff13

Please sign in to comment.