]> source.dussan.org Git - archiva.git/commitdiff
fixed failing test
authorMaria Odea B. Ching <oching@apache.org>
Wed, 9 Jun 2010 10:12:39 +0000 (10:12 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Wed, 9 Jun 2010 10:12:39 +0000 (10:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@952939 13f79535-47bb-0310-9956-ffa450edef68

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

index 52683e87a6e112aa522347213248c8f3c79ef287..111759c3c5cc7b7e642594411f9435ccce32397c 100644 (file)
@@ -22,6 +22,7 @@ package org.apache.maven.archiva.web.action;
 import java.io.File;
 import java.io.IOException;
 import java.util.ArrayList;
+import java.util.Arrays;
 
 import org.apache.archiva.checksum.ChecksumAlgorithm;
 import org.apache.archiva.checksum.ChecksummedFile;
@@ -503,6 +504,7 @@ public class UploadActionTest
         auditLogsDaoControl.verify();
 
         artifactsList = new File( repoLocation, "/org/apache/archiva/artifact-upload/1.0-SNAPSHOT/" ).list();
+        Arrays.sort( artifactsList );
 
         assertEquals( 15, artifactsList.length );