diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2021-01-28 10:20:38 -0600 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-01-29 20:07:55 +0000 |
commit | 00a4a9c77601ff6a1ea9516b7edc77b20f8a17c0 (patch) | |
tree | 2eca53a6874fba3aeda760197dc262608471157e /sonar-scanner-engine | |
parent | 09bd0ca18c132d56d98be34e9cc5c545e8787655 (diff) | |
download | sonarqube-00a4a9c77601ff6a1ea9516b7edc77b20f8a17c0.tar.gz sonarqube-00a4a9c77601ff6a1ea9516b7edc77b20f8a17c0.zip |
SONAR-14393 Add configuration for Bitbucket Cloud settings
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r-- | sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/log/LogListenerTest.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/log/LogListenerTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/log/LogListenerTest.java index 08c9f933bed..a08881c5dbf 100644 --- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/log/LogListenerTest.java +++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/log/LogListenerTest.java @@ -144,8 +144,10 @@ public class LogListenerTest { .build()) .execute(); - for (LogEvent e : logOutput) { - savedStdOut.println("[captured]" + e.level + " " + e.msg); + synchronized (logOutput) { + for (LogEvent e : logOutput) { + savedStdOut.println("[captured]" + e.level + " " + e.msg); + } } // only done in DEBUG during analysis |