From 436b117e7f00525eb7d286363fbcaa50147401d7 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 23 Mar 2015 15:04:04 +1100 Subject: [PATCH] ensure we test correctly for [MRM-1877] --- .../consumers/core/ArtifactMissingChecksumsConsumerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5