aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2018-08-21 14:14:48 +0200
committerSonarTech <sonartech@sonarsource.com>2018-08-21 20:21:04 +0200
commit2fdab0c755a5f4cf22a3cd15843703d5947c9b15 (patch)
tree3cd3f357a5c8b76b42991144b8029b560ffa0410 /sonar-scanner-engine
parent01e36514435cede2ecbb6acd28266fa608168fb9 (diff)
downloadsonarqube-2fdab0c755a5f4cf22a3cd15843703d5947c9b15.tar.gz
sonarqube-2fdab0c755a5f4cf22a3cd15843703d5947c9b15.zip
SONAR-11169 make log interceptor concurrent and thread safe
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scanner/util/ProgressReportTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/util/ProgressReportTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/util/ProgressReportTest.java
index 6c536b0e527..32a9811f5b9 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/util/ProgressReportTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/util/ProgressReportTest.java
@@ -60,7 +60,7 @@ public class ProgressReportTest {
underTest.message("Some message");
boolean logged = false;
while (!logged) {
- logged = logTester.findFirstLog("Some message"::equals).isPresent();
+ logged = logTester.logs().contains("Some message");
}
underTest.stop("stop");
}