aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-process-monitor
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-11-06 14:06:34 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-11-06 14:07:38 +0100
commit2bdf27e7784ee582c8d2c1dc2d858ef2100f53e6 (patch)
tree4af7fd2e412e6a7d6b655c02d8c597cdb1ff9f39 /server/sonar-process-monitor
parentdf34dc72bbab9e21e93865eedd6b1465a2b36690 (diff)
downloadsonarqube-2bdf27e7784ee582c8d2c1dc2d858ef2100f53e6.tar.gz
sonarqube-2bdf27e7784ee582c8d2c1dc2d858ef2100f53e6.zip
Increase stability of MonitorTest on slow boxes
Diffstat (limited to 'server/sonar-process-monitor')
-rw-r--r--server/sonar-process-monitor/src/test/java/org/sonar/process/monitor/MonitorTest.java2
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;