aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-qa-util/src
diff options
context:
space:
mode:
authorEric Hartmann <hartmann.eric@gmail.com>2017-11-10 13:58:46 +0100
committerEric Hartmann <hartmann.eric@gmail.Com>2017-11-14 13:10:17 +0100
commitd128dc6ec39f12ab9dec3fa41bfd37102ad7dd66 (patch)
treebca411e6c9e260279704a087835aec0bb85b590b /server/sonar-qa-util/src
parente9da85dce616fa45e6d93eaa4a2d89ca7eacee80 (diff)
downloadsonarqube-d128dc6ec39f12ab9dec3fa41bfd37102ad7dd66.tar.gz
sonarqube-d128dc6ec39f12ab9dec3fa41bfd37102ad7dd66.zip
Fix quality flaw
Diffstat (limited to 'server/sonar-qa-util/src')
-rw-r--r--server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/LogsTailer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/LogsTailer.java b/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/LogsTailer.java
index a172b56a649..a6e52a0774c 100644
--- a/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/LogsTailer.java
+++ b/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/LogsTailer.java
@@ -153,8 +153,8 @@ public class LogsTailer implements AutoCloseable {
/**
* Blocks until the expected log appears in watched files with timeout
*/
- public void waitForLog(long timeout, TimeUnit timeUnit) throws InterruptedException {
- foundSignal.await(timeout, timeUnit);
+ public boolean waitForLog(long timeout, TimeUnit timeUnit) throws InterruptedException {
+ return foundSignal.await(timeout, timeUnit);
}
public Optional<String> getLog() {