]> source.dussan.org Git - sonarqube.git/commitdiff
Increase stability of NotificationServiceTest on slow boxes
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 10 Oct 2014 13:22:58 +0000 (15:22 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 10 Oct 2014 13:25:04 +0000 (15:25 +0200)
server/sonar-server/src/test/java/org/sonar/server/notifications/NotificationServiceTest.java

index 007eb02da6816ea16f4523ab443854edb021e010..0e65b0deea91725ad257c714b77b972e89f244f5 100644 (file)
@@ -215,8 +215,8 @@ public class NotificationServiceTest {
     // Emulate processing of each notification take 10 min to have a log each time
     when(service.now()).thenReturn(0L).thenReturn(10 * 60 * 1000 + 1L).thenReturn(20 * 60 * 1000 + 2L);
     service.start();
-    verify(service, timeout(100)).log(1, 1, 10);
-    verify(service, timeout(100)).log(2, 0, 20);
+    verify(service, timeout(200)).log(1, 1, 10);
+    verify(service, timeout(200)).log(2, 0, 20);
     service.stop();
   }