db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o..@apache.org
Subject svn commit: r833414 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DropTableTest.java
Date Fri, 06 Nov 2009 14:39:07 GMT
Author: ole
Date: Fri Nov  6 14:39:07 2009
New Revision: 833414

URL: http://svn.apache.org/viewvc?rev=833414&view=rev
Log:
DERBY-4438 - 'Table/View 'T1' already exists in Schema 'APP'' in lang.DropTableTest on phoneME/cvm
Add some clean up to allow any execution order of tests. phoneME/cvm executes tests in a different
order than other jvms, which caused problems.

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DropTableTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DropTableTest.java?rev=833414&r1=833413&r2=833414&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DropTableTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DropTableTest.java
Fri Nov  6 14:39:07 2009
@@ -258,6 +258,9 @@
         assertStatementError("42X01", st, " drop view vt1 restrict");
         assertStatementError("42X01", st, " drop view vt1 cascade");
         
+        st.executeUpdate( "drop view vvt1"); // Clean up.
+        st.executeUpdate( "drop view  vt1"); // Clean up.
+        st.executeUpdate( "drop table  t1"); // Clean up.
         st.close();
     }
     public void testDropTableIndexesDropped() throws SQLException{
@@ -327,6 +330,7 @@
         JDBC.assertFullResultSet(rs, expRS);
         
         st1.close();
+        st.executeUpdate("drop table T1"); // Clean up
         st.close();
         //pretend all of the above didn't happen
         getConnection().setAutoCommit(true);



Mime
View raw message