]> source.dussan.org Git - sonarqube.git/commitdiff
Fix test FP
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Wed, 18 May 2016 12:12:12 +0000 (14:12 +0200)
committerDuarte Meneses <duarte.meneses@sonarsource.com>
Wed, 18 May 2016 12:12:12 +0000 (14:12 +0200)
sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java

index 4e4a4857ede3b917dcdb1af7bf7d0d93c7db8b3c..d7cc77237d7d52dc8f9365cf7e3b7f57508ddeeb 100644 (file)
@@ -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());
     }