]> source.dussan.org Git - archiva.git/commitdiff
ensure we test correctly for [MRM-1877]
authorOlivier Lamy <olamy@apache.org>
Mon, 23 Mar 2015 04:04:04 +0000 (15:04 +1100)
committerOlivier Lamy <olamy@apache.org>
Mon, 23 Mar 2015 04:04:04 +0000 (15:04 +1100)
archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/ArtifactMissingChecksumsConsumerTest.java

index 6c0d8a7362313668b1c2552049fe676cbcfad96a..bf4f85b241094da022fc5d497ae28c5b6648cdc1 100644 (file)
@@ -79,7 +79,7 @@ public class ArtifactMissingChecksumsConsumerTest
         long sha1LastModified = sha1Path.toFile().lastModified();
         Assertions.assertThat( md5FilePath.toFile() ).exists();
         long md5LastModified = md5FilePath.toFile().lastModified();
-        Thread.sleep( 1 );
+        Thread.sleep( 1000 );
         consumer.processFile( path );
 
         Assertions.assertThat( sha1Path.toFile() ).exists();