diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-09-16 18:20:31 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-09-16 18:20:31 +0200 |
commit | 6acdf9558a64ab365432c75aa57d5c3f0c7c096a (patch) | |
tree | f15111ad3f1b313189e88aac4c06854d2d1cfa7d /server/sonar-process-monitor | |
parent | 78f331f8f0264b56a9951f50868927b6fb66c6c4 (diff) | |
download | sonarqube-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.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 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()" |