From: Martin Stockhammer Date: Sun, 6 May 2018 16:58:48 +0000 (+0200) Subject: Adding additional wait for test X-Git-Tag: archiva-2.2.4~26 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1f891cd2eafd30413e44f51fbee6aa315d1f0a5d;p=archiva.git Adding additional wait for test --- diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadMergedIndexNonDefaultPathTest.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadMergedIndexNonDefaultPathTest.java index 6eec7f84d..ff1bd4ebf 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadMergedIndexNonDefaultPathTest.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadMergedIndexNonDefaultPathTest.java @@ -184,6 +184,7 @@ public class DownloadMergedIndexNonDefaultPathTest timeout -= 500; }*/ // wait the end + Thread.sleep( 500 ); while ( !repositoriesService.getRunningRemoteDownloadIds().getStrings().isEmpty() ) { Thread.sleep( 500 );