From 6acdf9558a64ab365432c75aa57d5c3f0c7c096a Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 16 Sep 2014 18:20:31 +0200 Subject: [PATCH] Try to increase stability of MonitorTest --- .../src/test/java/org/sonar/process/monitor/MonitorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()" -- 2.39.5