diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-11-06 14:06:34 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-11-06 14:07:38 +0100 |
commit | 2bdf27e7784ee582c8d2c1dc2d858ef2100f53e6 (patch) | |
tree | 4af7fd2e412e6a7d6b655c02d8c597cdb1ff9f39 /server/sonar-process-monitor/src | |
parent | df34dc72bbab9e21e93865eedd6b1465a2b36690 (diff) | |
download | sonarqube-2bdf27e7784ee582c8d2c1dc2d858ef2100f53e6.tar.gz sonarqube-2bdf27e7784ee582c8d2c1dc2d858ef2100f53e6.zip |
Increase stability of MonitorTest on slow boxes
Diffstat (limited to 'server/sonar-process-monitor/src')
-rw-r--r-- | server/sonar-process-monitor/src/test/java/org/sonar/process/monitor/MonitorTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-process-monitor/src/test/java/org/sonar/process/monitor/MonitorTest.java b/server/sonar-process-monitor/src/test/java/org/sonar/process/monitor/MonitorTest.java index a52459ead11..7734843c3d8 100644 --- a/server/sonar-process-monitor/src/test/java/org/sonar/process/monitor/MonitorTest.java +++ b/server/sonar-process-monitor/src/test/java/org/sonar/process/monitor/MonitorTest.java @@ -270,7 +270,7 @@ public class MonitorTest { boolean isReady() { try { HttpRequest httpRequest = HttpRequest.get("http://localhost:" + httpPort + "/ping") - .readTimeout(500).connectTimeout(500); + .readTimeout(2000).connectTimeout(2000); return httpRequest.ok() && httpRequest.body().equals("ping"); } catch (HttpRequest.HttpRequestException e) { return false; |