From: Simon Brandhof Date: Thu, 4 Aug 2016 08:35:54 +0000 (+0200) Subject: Improve stability of RestartTest X-Git-Tag: 6.1-RC1~460 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4955df5e6d363887c43dcc34e4e2f393ebd60c1e;p=sonarqube.git Improve stability of RestartTest JUnit timeout is too small when testing on DBs in QA environment. --- diff --git a/it/it-tests/src/test/java/it/serverSystem/RestartTest.java b/it/it-tests/src/test/java/it/serverSystem/RestartTest.java index c87afb3c00c..964aaabf8f4 100644 --- a/it/it-tests/src/test/java/it/serverSystem/RestartTest.java +++ b/it/it-tests/src/test/java/it/serverSystem/RestartTest.java @@ -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() {