aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-02-25 11:54:06 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-02-25 11:54:16 +0100
commitad0ce9f382ba0d94e5b2e9fcb3cc86260a1643f8 (patch)
tree9582cd45acb33b204a09d87bc551f68222b8cd89 /server
parent32edc1138c8894d6f38c1dde815b213c7a9ab7c1 (diff)
downloadsonarqube-ad0ce9f382ba0d94e5b2e9fcb3cc86260a1643f8.tar.gz
sonarqube-ad0ce9f382ba0d94e5b2e9fcb3cc86260a1643f8.zip
Increase reliability of ProgressLoggerTest on slow machines
Diffstat (limited to 'server')
-rw-r--r--server/sonar-server/src/test/java/org/sonar/server/util/ProgressLoggerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/server/util/ProgressLoggerTest.java b/server/sonar-server/src/test/java/org/sonar/server/util/ProgressLoggerTest.java
index 1ce230c21f3..0003d69b5e9 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/util/ProgressLoggerTest.java
+++ b/server/sonar-server/src/test/java/org/sonar/server/util/ProgressLoggerTest.java
@@ -36,7 +36,7 @@ public class ProgressLoggerTest {
ProgressLogger progress = new ProgressLogger("ProgressLoggerTest", counter, logger);
progress.setPeriodMs(1L);
progress.start();
- Thread.sleep(50L);
+ Thread.sleep(80L);
progress.stop();
verify(logger, atLeast(1)).info("42 rows processed");