Author: vhalbert(a)redhat.com
Date: 2010-05-25 15:02:53 -0400 (Tue, 25 May 2010)
New Revision: 2155
Modified:
trunk/test-integration/db/src/main/java/org/teiid/test/client/TestClient.java
Log:
Teiid-773 - added a global catch (throwable) to find the problematic tests that throwing
exceptions that are not accounted for.
Modified: trunk/test-integration/db/src/main/java/org/teiid/test/client/TestClient.java
===================================================================
---
trunk/test-integration/db/src/main/java/org/teiid/test/client/TestClient.java 2010-05-25
16:44:02 UTC (rev 2154)
+++
trunk/test-integration/db/src/main/java/org/teiid/test/client/TestClient.java 2010-05-25
19:02:53 UTC (rev 2155)
@@ -194,7 +194,11 @@
userTxn.init(summary, expectedResults, q);
// run test
- tc.runTransaction(userTxn);
+ try {
+ tc.runTransaction(userTxn);
+ } catch (Throwable t) {
+ TestLogger.logInfo("Testcase run error: " +
t.getLocalizedMessage());
+ }
}
Show replies by date