maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ogusa...@apache.org
Subject svn commit: r720735 - /maven/mercury/trunk/mercury-it/src/test/java/org/apache/maven/mercury/repository/tests/RemoteRepositoryCachingReaderM2Test.java
Date Wed, 26 Nov 2008 04:12:50 GMT
Author: ogusakov
Date: Tue Nov 25 20:12:49 2008
New Revision: 720735

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

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

Modified: maven/mercury/trunk/mercury-it/src/test/java/org/apache/maven/mercury/repository/tests/RemoteRepositoryCachingReaderM2Test.java
URL: http://svn.apache.org/viewvc/maven/mercury/trunk/mercury-it/src/test/java/org/apache/maven/mercury/repository/tests/RemoteRepositoryCachingReaderM2Test.java?rev=720735&r1=720734&r2=720735&view=diff
==============================================================================
--- maven/mercury/trunk/mercury-it/src/test/java/org/apache/maven/mercury/repository/tests/RemoteRepositoryCachingReaderM2Test.java
(original)
+++ maven/mercury/trunk/mercury-it/src/test/java/org/apache/maven/mercury/repository/tests/RemoteRepositoryCachingReaderM2Test.java
Tue Nov 25 20:12:49 2008
@@ -154,6 +154,17 @@
     String mdFileName = "a/a/"+"meta-ga-"+repo.getId()+".xml";
     File cachedMd = new File( _cacheBase, mdFileName );
     
+    try
+    {
+      File dir = new File( _cacheBase, "a/a" );
+      File [] files = dir.listFiles();
+      System.out.println("=====> Files in "+dir.getCanonicalPath() );
+      for( File f : files )
+        System.out.println("found file: "+f.getCanonicalPath() );
+      System.out.println("<=====" );
+    }
+    catch( Throwable e ) {}
+    
     assertTrue( "cached metadata "+cachedMd.getCanonicalPath()+" does not exist", cachedMd.exists()
);
   }
   //-------------------------------------------------------------------------



Mime
View raw message