mirror of
https://github.com/apache/archiva.git
synced 2025-02-21 01:15:08 +00:00
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:
parent
8d1880e028
commit
43b79ffe9d
@ -76,6 +76,7 @@ private EclipseRepositoryIndex createTestIndex()
|
||||
|
||||
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user