diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-08-04 10:35:54 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-08-04 10:35:54 +0200 |
commit | 4955df5e6d363887c43dcc34e4e2f393ebd60c1e (patch) | |
tree | 39f9d4d15e415909e2f5ad22fb90f292eecda869 /it/it-tests | |
parent | 6d0443dbb9b3108e54882bd818e8192bb78df0a0 (diff) | |
download | sonarqube-4955df5e6d363887c43dcc34e4e2f393ebd60c1e.tar.gz sonarqube-4955df5e6d363887c43dcc34e4e2f393ebd60c1e.zip |
Improve stability of RestartTest
JUnit timeout is too small when testing
on DBs in QA environment.
Diffstat (limited to 'it/it-tests')
-rw-r--r-- | it/it-tests/src/test/java/it/serverSystem/RestartTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
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() { |