]> source.dussan.org Git - sonarqube.git/commitdiff
Try to increase stability of MonitorTest
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 16 Sep 2014 16:20:31 +0000 (18:20 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 16 Sep 2014 16:20:31 +0000 (18:20 +0200)
server/sonar-process-monitor/src/test/java/org/sonar/process/monitor/MonitorTest.java

index 043054c40eeb8bdc44f346adff3d64d28ad2efb8..171f5669fbca4558aca9169cb2416f025a5f8af0 100644 (file)
@@ -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()"