aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/utils/HttpDownloaderTest.java3
1 files changed, 2 insertions, 1 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 95c5fd39bb9..90e65e01f2b 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
@@ -68,7 +68,8 @@ public class HttpDownloaderTest {
@Test(expected=SonarException.class)
public void failIfServerDown() throws URISyntaxException {
- new HttpDownloader().download(new URI("http://localhost:13579/unknown"));
+ // I hope that the port 1 is not used !
+ new HttpDownloader().download(new URI("http://localhost:1/unknown"));
}
@Test