From 40f237a54cc6b458273499a2fd4215419764408d Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Wed, 18 May 2016 14:12:12 +0200 Subject: [PATCH] Fix test FP --- .../java/org/sonar/batch/mediumtest/log/LogListenerTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java b/sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java index 4e4a4857ede..d7cc77237d7 100644 --- a/sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java +++ b/sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java @@ -116,6 +116,10 @@ public class LogListenerTest { */ private void assertMsgClean(String msg) { for (LogOutput.Level l : LogOutput.Level.values()) { + // FP: [JOURNAL_FLUSHER] WARNING Journal flush operation took 2,093ms last 8 cycles average is 262ms + if(msg.contains("[JOURNAL_FLUSHER]")) { + continue; + } assertThat(msg).doesNotContain(l.toString()); } -- 2.39.5