]> source.dussan.org Git - sonarqube.git/commitdiff
NO-JIRA fix unstable test in local
authorLéo Geoffroy <leo.geoffroy@sonarsource.com>
Tue, 28 Mar 2023 13:05:06 +0000 (15:05 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 28 Mar 2023 20:04:04 +0000 (20:04 +0000)
sonar-core/src/it/java/org/sonar/core/util/DefaultHttpDownloaderIT.java

index 9e13d276e256611efb4a45404bdd6c11f8734169..c185bbbdc0d1b84a8acfab36b1ed496107bceb4f 100644 (file)
@@ -130,7 +130,7 @@ public class DefaultHttpDownloaderIT {
     String url = "http://10.255.255.1";
 
     assertThatThrownBy(() -> {
-      DefaultHttpDownloader downloader = new DefaultHttpDownloader(new MapSettings().asConfig(), 10, 50000);
+      DefaultHttpDownloader downloader = new DefaultHttpDownloader(new MapSettings().asConfig(), 10, 10);
       downloader.openStream(new URI(url));
     })
       .isInstanceOf(SonarException.class)