diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-05-18 19:23:33 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-05-18 19:23:33 +0200 |
commit | 90f751a88686cb2f55c7d440572d9aa44c7083af (patch) | |
tree | 72c5b4b58bcc7e1364e068dde38543dbf6007135 /server | |
parent | eb1a9511b030194ad70db239fadd087ee9f7bb62 (diff) | |
download | sonarqube-90f751a88686cb2f55c7d440572d9aa44c7083af.tar.gz sonarqube-90f751a88686cb2f55c7d440572d9aa44c7083af.zip |
Improve stability of ProcessUtilsTest on slow env
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-process/src/test/java/org/sonar/process/ProcessUtilsTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-process/src/test/java/org/sonar/process/ProcessUtilsTest.java b/server/sonar-process/src/test/java/org/sonar/process/ProcessUtilsTest.java index 9b6be953e6b..8054bce07ee 100644 --- a/server/sonar-process/src/test/java/org/sonar/process/ProcessUtilsTest.java +++ b/server/sonar-process/src/test/java/org/sonar/process/ProcessUtilsTest.java @@ -37,12 +37,12 @@ public class ProcessUtilsTest { awaitTermination((Thread) null); } - @Test(timeout = 100L) + @Test(timeout = 250L) public void awaitTermination_does_not_wait_on_currentThread() { awaitTermination(Thread.currentThread()); } - @Test(timeout = 3000) + @Test(timeout = 3_000L) public void awaitTermination_ignores_interrupted_exception_of_current_thread() throws InterruptedException { final EverRunningThread runningThread = new EverRunningThread(); final Thread safeJoiner = new Thread() { |