Jayaram Subramanian <[email protected]> writes: > Thanks for the reply... I was able to make appropriate changes to all > appropriate junit classes.. Now as a part of testing when i tried > running suites.all, it seems to have following issues > > 1) After running for an hour the test automatically seems to have > interrupted at this point as per the log > testUnimplementedSQLObjectAttributes used 142 ms . > testGetSchemasReadOnly used 7 ms . > testGetSchemasModify used 629 ms . > testGetTablesReadOnly used 1528 ms . > testGetTablesModify > > 2) I got the following exceptions in the log outpout > Caused by: java.sql.SQLException: Database at > C:\java\Derby\source\trunk\system\wombat is at version 10.6 beta. Beta > databases cannot be upgraded, > at > org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.java:119) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:73) > at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:256) > at > org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java:2723) > ... 28 more > Caused by: ERROR XSLAP: Database at > C:\java\Derby\source\trunk\system\wombat is at version 10.6 beta. Beta > databases cannot be upgraded, > at java.lang.Throwable.<init>(Throwable.java:67)
Not sure what's causing the first issue, but the second issue seems to be because there's a database from an old test run in the directory where you run the tests. Removing the system directory should fix that, I think. -- Knut Anders
