db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brosius <dbros...@apache.org>
Subject junit failures
Date Sun, 17 Apr 2011 15:44:13 GMT
I've managed to knock down the number of failures for running:

java -classpath 
tools/java/junit.jar:tools/java/jakarta-oro-2.0.8.jar:jars/sane/derbyTesting.jar:jars/sane/derby.jar:jars/sane/derbyTools.jar:jars/sane/derbyTools.jar:jars/sane/derbyrun.jar:jars/sane/derbynet.jar:jars/sane/derbyclient.jar

-Xmx800m -XX:MaxPermSize=512m junit.textui.TestRunner 
org.apache.derbyTesting.functionTests.suites.All

to two, below.

Anyone know what i'm doing wrong?

1) 
testTriggerBasic(org.apache.derbyTesting.functionTests.tests.upgradeTests.BasicSetup)ERROR

X0Y32: Table/View 'TRIGGER_T1' already exists in Schema 'APP'.
     at 
org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
     at 
org.apache.derby.impl.sql.catalog.DataDictionaryImpl.duplicateDescriptorException(Unknown

Source)
     at 
org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor(Unknown 
Source)
     at 
org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor(Unknown 
Source)
     at 
org.apache.derby.impl.sql.execute.CreateTableConstantAction.executeConstantAction(Unknown

Source)
     at org.apache.derby.impl.sql.execute.MiscResultSet.open(Unknown Source)
     at 
org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
     at 
org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
     at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
     at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown 
Source)
     at 
org.apache.derbyTesting.functionTests.tests.upgradeTests.BasicSetup.testTriggerBasic(BasicSetup.java:63)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)


2) 
testDML(org.apache.derbyTesting.functionTests.tests.upgradeTests.BasicSetup)ERROR 
X0Y32: Table/View 'PHASE' already exists in Schema 'APP'.
     at 
org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
     at 
org.apache.derby.impl.sql.catalog.DataDictionaryImpl.duplicateDescriptorException(Unknown

Source)
     at 
org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor(Unknown 
Source)
     at 
org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor(Unknown 
Source)
     at 
org.apache.derby.impl.sql.execute.CreateTableConstantAction.executeConstantAction(Unknown

Source)
     at org.apache.derby.impl.sql.execute.MiscResultSet.open(Unknown Source)
     at 
org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
     at 
org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
     at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
     at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown 
Source)
     at 
org.apache.derbyTesting.functionTests.tests.upgradeTests.BasicSetup.testDML(BasicSetup.java:143)


Mime
View raw message