mirror of https://github.com/apache/archiva.git
ensure we test correctly for [MRM-1877]
This commit is contained in:
parent
6317bd9d02
commit
436b117e7f
|
@ -79,7 +79,7 @@ public class ArtifactMissingChecksumsConsumerTest
|
||||||
long sha1LastModified = sha1Path.toFile().lastModified();
|
long sha1LastModified = sha1Path.toFile().lastModified();
|
||||||
Assertions.assertThat( md5FilePath.toFile() ).exists();
|
Assertions.assertThat( md5FilePath.toFile() ).exists();
|
||||||
long md5LastModified = md5FilePath.toFile().lastModified();
|
long md5LastModified = md5FilePath.toFile().lastModified();
|
||||||
Thread.sleep( 1 );
|
Thread.sleep( 1000 );
|
||||||
consumer.processFile( path );
|
consumer.processFile( path );
|
||||||
|
|
||||||
Assertions.assertThat( sha1Path.toFile() ).exists();
|
Assertions.assertThat( sha1Path.toFile() ).exists();
|
||||||
|
|
Loading…
Reference in New Issue