From: Simon Brandhof Date: Tue, 16 Sep 2014 16:20:31 +0000 (+0200) Subject: Try to increase stability of MonitorTest X-Git-Tag: 4.5-RC2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6acdf9558a64ab365432c75aa57d5c3f0c7c096a;p=sonarqube.git Try to increase stability of MonitorTest --- 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()"