db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r373644 - in /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests: master/largeCodeGen.out suites/largeDataTests.runall tests/lang/largeCodeGen.java
Date Tue, 31 Jan 2006 00:22:05 GMT
Author: kmarsden
Date: Mon Jan 30 16:21:59 2006
New Revision: 373644

URL: http://svn.apache.org/viewcvs?rev=373644&view=rev
Log:
Add largeCodeGen test to largeData suite

Since there are known failures in the test, exception traces are 
suppressed by default to avoid diffs between runs, jvms etc.

Added:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/largeCodeGen.out
Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/largeDataTests.runall
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/largeCodeGen.java

Added: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/largeCodeGen.out
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/largeCodeGen.out?rev=373644&view=auto
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/largeCodeGen.out
(added)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/largeCodeGen.out
Mon Jan 30 16:21:59 2006
@@ -0,0 +1,13 @@
+PASS: Logical operators with 200 parameters
+PASS: Logical operators with 300 parameters
+PASS: Logical operators with 400 parameters
+FAILED QUERY: Logical operators with 500 parameters.
+PASS: IN clause with 3300 parameters
+PASS: IN clause with 3400 parameters
+FAILED QUERY: IN clause with 3500 parameters.
+PASS: PREPARE: SELECT with 800 unions
+PASS: EXECUTE SELECT with 800 unions Row data check ok
+PASS: PREPARE: SELECT with 900 unions
+PASS: EXECUTE SELECT with 900 unions Row data check ok
+FAILED QUERY: SELECT with 1000 unions.
+FAILED QUERY: SELECT with 10000 unions.

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/largeDataTests.runall
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/largeDataTests.runall?rev=373644&r1=373643&r2=373644&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/largeDataTests.runall
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/largeDataTests.runall
Mon Jan 30 16:21:59 2006
@@ -1,2 +1,3 @@
+lang/largeCodeGen.java
 largedata/lobLengthTests.java
 largedata/LobLimits.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/largeCodeGen.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/largeCodeGen.java?rev=373644&r1=373643&r2=373644&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/largeCodeGen.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/largeCodeGen.java
Mon Jan 30 16:21:59 2006
@@ -17,6 +17,7 @@
 public class largeCodeGen
 {
 	private static boolean TEST_QUERY_EXECUTION = true;
+	private static boolean PRINT_FAILURE_EXCEPTION = false;
 	
     public static void main(String argv[]) 
        throws Exception
@@ -282,11 +283,11 @@
 	 */
 	private static void reportFailure(String testName, Exception e)
 	{
-		System.out.print("FAILED QUERY: " + testName +". ");
+		System.out.println("FAILED QUERY: " + testName +".");
 		if (e instanceof SQLException)
 		{
 			SQLException se = (SQLException) e;
-			while (se != null)
+			while (se != null  && PRINT_FAILURE_EXCEPTION)
 			{
 				se.printStackTrace(System.out);
 				se = se.getNextException();



Mime
View raw message