db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1431961 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LangProcedureTest.java
Date Fri, 11 Jan 2013 09:54:21 GMT
Author: kahatlen
Date: Fri Jan 11 09:54:21 2013
New Revision: 1431961

URL: http://svn.apache.org/viewvc?rev=1431961&view=rev
Log:
DERBY-6039: Intermittent failure in LangProcedureTest.testDynamicResultSets: Table/View 'T1'
does not exist.

Make the test cases drop all SQL objects they have created.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LangProcedureTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LangProcedureTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LangProcedureTest.java?rev=1431961&r1=1431960&r2=1431961&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LangProcedureTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LangProcedureTest.java
Fri Jan 11 09:54:21 2013
@@ -398,6 +398,7 @@ public class LangProcedureTest extends B
             "create procedure S1.NOTYET() SPECIFIC fred language java " +
             "external name 'failAPP.fail0' parameter style java");
 
+        s.execute("drop procedure PROCDUP");
         s.execute("drop procedure s1.PROCDUP");
         s.execute("drop procedure s2.PROCDUP");
 
@@ -890,6 +891,7 @@ public class LangProcedureTest extends B
         JDBC.assertNoMoreResults(toomany);
         toomany.close();
         s.execute("drop procedure way.toomany");
+        s.execute("drop schema way restrict");
 
         // Run following test in embedded only until DERBY-3414 is fixed. As
         // identified in DERBY-3414, the rollback inside the java procedure
@@ -980,6 +982,7 @@ public class LangProcedureTest extends B
             s.execute("drop table DELLATER1");
             s.execute("drop table DELLATER2");
             s.execute("drop table DELLATER3");
+            s.execute("drop procedure insertCausingRollback");
 
             conn.setAutoCommit(oldAutoCommit);
         }



Mime
View raw message