]> source.dussan.org Git - archiva.git/commitdiff
Fixed a unit test bug that would vary the timestamp of a file on a different machine.
authorEdwin L. Punzalan <epunzalan@apache.org>
Wed, 1 Mar 2006 12:04:28 +0000 (12:04 +0000)
committerEdwin L. Punzalan <epunzalan@apache.org>
Wed, 1 Mar 2006 12:04:28 +0000 (12:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@381999 13f79535-47bb-0310-9956-ffa450edef68

maven-repository-indexer/src/test/java/org/apache/maven/repository/indexing/EclipseRepositoryIndexTest.java

index 4d5ce5a12998b99683971d58422c3429ee5f08bb..0e5d70719c9626749de76951cb89d67255b740f6 100644 (file)
@@ -76,6 +76,7 @@ public class EclipseRepositoryIndexTest
 
         Artifact artifact = getArtifact( "org.apache.maven", "maven-artifact", "2.0.1" );
         artifact.setFile( new File( repository.getBasedir(), repository.pathOf( artifact ) ) );
+        artifact.getFile().setLastModified( 1137381114096L );
         indexer.indexArtifact( artifact );
         indexer.optimize();
         indexer.close();