diff options
author | Malena Ebert <63863184+malena-ebert-sonarsource@users.noreply.github.com> | 2021-01-29 17:21:20 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-01-30 20:08:03 +0000 |
commit | 6717f56e2891ad5cba078b409bee456a4131993e (patch) | |
tree | 3699f535a32e319998316e1423007ad6554e1d02 /sonar-scanner-engine | |
parent | 00a4a9c77601ff6a1ea9516b7edc77b20f8a17c0 (diff) | |
download | sonarqube-6717f56e2891ad5cba078b409bee456a4131993e.tar.gz sonarqube-6717f56e2891ad5cba078b409bee456a4131993e.zip |
Flush stdout/err
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r-- | sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/log/LogListenerTest.java | 2 |
1 files changed, 2 insertions, 0 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 a08881c5dbf..0bf5239b3c0 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 @@ -88,6 +88,8 @@ public class LogListenerTest { @Before public void prepare() { + System.out.flush(); + System.err.flush(); stdOutTarget = new ByteArrayOutputStream(); stdErrTarget = new ByteArrayOutputStream(); System.setOut(new PrintStream(stdOutTarget)); |