Skip to content

Commit

Permalink
Fixing Sleuth tests, since the logs contain true or false randomly
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashackt committed Sep 4, 2020
1 parent 83f6977 commit b3e6236
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class SleuthLogMessagesTest {
}

private boolean isSleuthLogLineSomewhereIn(String log) {
Pattern sleuth_log_line_pattern = Pattern.compile("(INFO \\[,\\w+,\\w+,true].*: Returning a forecast.)");
Pattern sleuth_log_line_pattern = Pattern.compile("(INFO \\[,\\w+,\\w+,.*: Returning a forecast.)");
Matcher loglineMatcher = sleuth_log_line_pattern.matcher(log);
return loglineMatcher.find();
}
Expand Down

0 comments on commit b3e6236

Please sign in to comment.