aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-process-monitor
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-09-16 18:20:31 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-09-16 18:20:31 +0200
commit6acdf9558a64ab365432c75aa57d5c3f0c7c096a (patch)
treef15111ad3f1b313189e88aac4c06854d2d1cfa7d /server/sonar-process-monitor
parent78f331f8f0264b56a9951f50868927b6fb66c6c4 (diff)
downloadsonarqube-6acdf9558a64ab365432c75aa57d5c3f0c7c096a.tar.gz
sonarqube-6acdf9558a64ab365432c75aa57d5c3f0c7c096a.zip
Try to increase stability of MonitorTest
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 043054c40ee..171f5669fbc 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
@@ -368,7 +368,7 @@ public class MonitorTest {
void kill() {
try {
HttpRequest.post("http://localhost:" + httpPort + "/kill")
- .readTimeout(500).connectTimeout(500).ok();
+ .readTimeout(5000).connectTimeout(5000).ok();
} catch (Exception e) {
// HTTP request can't be fully processed, as web server hardly
// calls "System.exit()"