From b9b2c5ca0ceb3a6d6ae3a998e5f2474aba917c8b Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Wed, 9 Jun 2010 10:12:39 +0000 Subject: [PATCH] fixed failing test git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@952939 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/archiva/web/action/UploadActionTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/UploadActionTest.java b/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/UploadActionTest.java index 52683e87a..111759c3c 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/UploadActionTest.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/UploadActionTest.java @@ -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 ); -- 2.39.5