maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ogusa...@apache.org
Subject svn commit: r720717 - /maven/mercury/trunk/mercury-it/src/test/java/org/apache/maven/mercury/repository/tests/AbstractRepositoryReaderM2Test.java
Date Wed, 26 Nov 2008 02:57:23 GMT
Author: ogusakov
Date: Tue Nov 25 18:57:23 2008
New Revision: 720717

URL: http://svn.apache.org/viewvc?rev=720717&view=rev
Log:
fixing ITs for the grid

Modified:
    maven/mercury/trunk/mercury-it/src/test/java/org/apache/maven/mercury/repository/tests/AbstractRepositoryReaderM2Test.java

Modified: maven/mercury/trunk/mercury-it/src/test/java/org/apache/maven/mercury/repository/tests/AbstractRepositoryReaderM2Test.java
URL: http://svn.apache.org/viewvc/maven/mercury/trunk/mercury-it/src/test/java/org/apache/maven/mercury/repository/tests/AbstractRepositoryReaderM2Test.java?rev=720717&r1=720716&r2=720717&view=diff
==============================================================================
--- maven/mercury/trunk/mercury-it/src/test/java/org/apache/maven/mercury/repository/tests/AbstractRepositoryReaderM2Test.java
(original)
+++ maven/mercury/trunk/mercury-it/src/test/java/org/apache/maven/mercury/repository/tests/AbstractRepositoryReaderM2Test.java
Tue Nov 25 18:57:23 2008
@@ -420,8 +420,7 @@
                                     )
                   );
     
-    if( goodOs )
-      server.setReaderStreamVerifierFactories(factories);
+    server.setReaderStreamVerifierFactories(factories);
 
     bmd = new ArtifactBasicMetadata("a:a:3");
     query.add( bmd );
@@ -487,8 +486,11 @@
                 , getClass().getResourceAsStream( publicKeyFile )
                                     )
                   );
-    factories.add( new SHA1VerifierFactory(true,false) );
-    server.setReaderStreamVerifierFactories(factories);
+    if( goodOs )
+    {
+      factories.add( new SHA1VerifierFactory(true,false) );
+      server.setReaderStreamVerifierFactories(factories);
+    }
 
     bmd = new ArtifactBasicMetadata("a:a:3");
     query.add( bmd );



Mime
View raw message