From c300d388b03e9fe24054fa8882ff8e5f61babc4c Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 25 Mar 2015 13:58:11 +0100 Subject: Increase timeout of HttpDownloaderTest --- .../src/test/java/org/sonar/api/utils/HttpDownloaderTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sonar-plugin-api') diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/utils/HttpDownloaderTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/utils/HttpDownloaderTest.java index 9fa8037b6d5..8206b72dd08 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/utils/HttpDownloaderTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/utils/HttpDownloaderTest.java @@ -66,7 +66,7 @@ public class HttpDownloaderTest { public ExpectedException thrown = ExpectedException.none(); @Rule - public TestRule timeout = new DisableOnDebug(Timeout.seconds(2)); + public TestRule timeout = new DisableOnDebug(Timeout.seconds(5)); private static SocketConnection socketConnection; private static String baseUrl; @@ -106,7 +106,7 @@ public class HttpDownloaderTest { } finally { try { resp.close(); - } catch (IOException e) { + } catch (IOException ignored) { } } } -- cgit v1.2.3