From f4626ad8a51423f61f95f710c932d46311656105 Mon Sep 17 00:00:00 2001 From: "Jevica Arianne B. Zurbano" Date: Wed, 9 Jun 2010 11:00:39 +0000 Subject: [PATCH] fixed failing test git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@952956 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/archiva/web/action/UploadActionTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 111759c3c..e3474d578 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 @@ -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 +} -- 2.39.5