Fixed a unit test bug that would vary the timestamp of a file on a different machine.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@381999 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Edwin L. Punzalan 2006-03-01 12:04:28 +00:00
parent 8d1880e028
commit 43b79ffe9d
1 changed files with 1 additions and 0 deletions

View 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();