From ad0ce9f382ba0d94e5b2e9fcb3cc86260a1643f8 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 25 Feb 2015 11:54:06 +0100 Subject: [PATCH] Increase reliability of ProgressLoggerTest on slow machines --- .../src/test/java/org/sonar/server/util/ProgressLoggerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.5