Skip to content

Commit

Permalink
Fixing Sleuth tests - now the log pattern "2020-09-04 11:03:02.248 IN…
Browse files Browse the repository at this point in the history
…FO [,60b6333a05e25302,60b6333a05e25302,true]" contains a true instead of false
  • Loading branch information
jonashackt committed Sep 4, 2020
1 parent 0a0d808 commit 83f6977
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+,false].*: Returning a forecast.)");
Pattern sleuth_log_line_pattern = Pattern.compile("(INFO \\[,\\w+,\\w+,true].*: Returning a forecast.)");
Matcher loglineMatcher = sleuth_log_line_pattern.matcher(log);
return loglineMatcher.find();
}
Expand Down

0 comments on commit 83f6977

Please sign in to comment.