From: Olivier Lamy Date: Mon, 23 Mar 2015 04:04:04 +0000 (+1100) Subject: ensure we test correctly for [MRM-1877] X-Git-Tag: archiva-2.2.1~68 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=436b117e7f00525eb7d286363fbcaa50147401d7;p=archiva.git ensure we test correctly for [MRM-1877] --- diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/ArtifactMissingChecksumsConsumerTest.java b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/ArtifactMissingChecksumsConsumerTest.java index 6c0d8a736..bf4f85b24 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/ArtifactMissingChecksumsConsumerTest.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/ArtifactMissingChecksumsConsumerTest.java @@ -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();