summaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-03-25 13:58:11 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-03-25 13:58:11 +0100
commitc300d388b03e9fe24054fa8882ff8e5f61babc4c (patch)
tree74de950169a45e46acdfe33b3c69e5bd5e697baf /sonar-plugin-api
parent7dfd22dceead225939a19f75c97a0bae2bb90a14 (diff)
downloadsonarqube-c300d388b03e9fe24054fa8882ff8e5f61babc4c.tar.gz
sonarqube-c300d388b03e9fe24054fa8882ff8e5f61babc4c.zip
Increase timeout of HttpDownloaderTest
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/utils/HttpDownloaderTest.java4
1 files changed, 2 insertions, 2 deletions
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) {
}
}
}