]> source.dussan.org Git - sonarqube.git/commitdiff
Improve stability of RestartTest
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 4 Aug 2016 08:35:54 +0000 (10:35 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 4 Aug 2016 08:35:54 +0000 (10:35 +0200)
 JUnit timeout is too small when testing
 on DBs in QA environment.

it/it-tests/src/test/java/it/serverSystem/RestartTest.java

index c87afb3c00c584056cc8de68a0c0eafe92462fe7..964aaabf8f4ec0c67fea420bf3403f3e7842c627 100644 (file)
@@ -46,9 +46,9 @@ public class RestartTest {
 
   @Rule
   public ExpectedException thrown = ExpectedException.none();
-  @Rule
-  public TestRule globalTimeout = new DisableOnDebug(Timeout.seconds(120));
 
+  @Rule
+  public TestRule globalTimeout = new DisableOnDebug(Timeout.seconds(300L));
 
   @After
   public void stop() {