]> source.dussan.org Git - archiva.git/commitdiff
fixed failing test
authorJevica Arianne B. Zurbano <jzurbano@apache.org>
Wed, 9 Jun 2010 11:00:39 +0000 (11:00 +0000)
committerJevica Arianne B. Zurbano <jzurbano@apache.org>
Wed, 9 Jun 2010 11:00:39 +0000 (11:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@952956 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/UploadActionTest.java

index 111759c3c5cc7b7e642594411f9435ccce32397c..e3474d578f768f32099c41e46cee43afcc34e17a 100644 (file)
@@ -442,6 +442,7 @@ public class UploadActionTest
 
         String repoLocation = config.findManagedRepositoryById( REPOSITORY_ID ).getLocation();
         String[] artifactsList = new File( repoLocation, "/org/apache/archiva/artifact-upload/1.0-SNAPSHOT/" ).list();
+        Arrays.sort( artifactsList );
 
         assertEquals( 9, artifactsList.length );
         assertTrue( new File( repoLocation, "/org/apache/archiva/artifact-upload/1.0-SNAPSHOT/"
@@ -686,4 +687,4 @@ public class UploadActionTest
         verifyPomChecksums( repoLocation, "artifact-upload-1.0", "1.0" );
         verifyProjectMetadataChecksums( repoLocation );
     }
-}
\ No newline at end of file
+}