jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r992956 - /jackrabbit/trunk/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java
Date Mon, 06 Sep 2010 07:13:09 GMT
Author: jukka
Date: Mon Sep  6 07:13:09 2010
New Revision: 992956

URL: http://svn.apache.org/viewvc?rev=992956&view=rev
Log:
JCR-2695: Jackrabbit performance test suite

Catch also throwables like NoClassDefFoundError from JCR 2.0 tests when run against JCR 1.0.

Modified:
    jackrabbit/trunk/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java

Modified: jackrabbit/trunk/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java?rev=992956&r1=992955&r2=992956&view=diff
==============================================================================
--- jackrabbit/trunk/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java
(original)
+++ jackrabbit/trunk/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java
Mon Sep  6 07:13:09 2010
@@ -124,8 +124,8 @@ public abstract class AbstractPerformanc
             } finally {
                 writer.close();
             }
-        } catch (Exception e) {
-            System.out.println("Unable to run " + test + ": " + e.getMessage());
+        } catch (Throwable t) {
+            System.out.println("Unable to run " + test + ": " + t.getMessage());
         }
     }
 



Mime
View raw message