aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2016-05-18 14:13:06 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2016-05-18 14:13:06 +0200
commit1fb7da126ba0f8baf2a03f2d878897f84612e413 (patch)
treea1a0ac658d3a2006976f8085713fb3d030ecf634 /sonar-scanner-engine/src
parent40f237a54cc6b458273499a2fd4215419764408d (diff)
downloadsonarqube-1fb7da126ba0f8baf2a03f2d878897f84612e413.tar.gz
sonarqube-1fb7da126ba0f8baf2a03f2d878897f84612e413.zip
Fix test FP
Diffstat (limited to 'sonar-scanner-engine/src')
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java9
1 files changed, 5 insertions, 4 deletions
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 d7cc77237d7..867c53b5013 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
@@ -115,11 +115,12 @@ public class LogListenerTest {
* Check that log message is not formatted, i.e. has no log level and timestamp.
*/
private void assertMsgClean(String msg) {
+ // FP: [JOURNAL_FLUSHER] WARNING Journal flush operation took 2,093ms last 8 cycles average is 262ms
+ if (msg.contains("[JOURNAL_FLUSHER]")) {
+ return;
+ }
+
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());
}