Am 16.08.2010 22:55, schrieb Stefan Bodewig:
On 2010-08-16, Oliver Heger wrote:

Am 16.08.2010 22:03, schrieb Stefan Bodewig:
On 2010-08-16, Oliver Heger wrote:

Does anybody have an idea what breaks Gump? Looks as if multiple
projects are affected.

An idea, yes, but didn't have time to analyze it.

Shortly before this - and velocity-engine-test - started breaking I
realized Gump was using the CVS HEAD of hsqldb which was long outdated
since hsqldb now uses svn, so I changed the SCM setting.  My guess is
something has changed in hsqldb while Gump was not looking and that
change needs to be addressed in some way.

Stefan

Sounds reasonable. At least for [configuration] the failing tests
actually use hsqldb to test DatabaseConfiguration.

Do you have some spare cycles to spend on this?  If not, it may take
some time until I can look into it, but I will.  We may want to disable
nagging in the mean time in that case.

Stefan

Thanks to your mail to Rahul I was able to find the surefire reports at [1]. The cause seems to be an incompatibility between DBUnit and the new HSQLDb version. Unfortunately I do not fully understand what is going on as I have not written this test.

The test tries to execute a CLEAN_INSERT database operation in order to setup test data in the database which results in the following error:

testGetPropertyDirectMultiple(org.apache.commons.configuration.TestDatabaseConfiguration) Time elapsed: 0.018 sec <<< ERROR! org.apache.commons.configuration.ConfigurationRuntimeException: Could not create data source at org.apache.commons.configuration.DatabaseConfigurationTestHelper.getDatasource(DatabaseConfigurationTestHelper.java:184) at org.apache.commons.configuration.DatabaseConfigurationTestHelper.setUpMultiConfig(DatabaseConfigurationTestHelper.java:164) at org.apache.commons.configuration.DatabaseConfigurationTestHelper.setUpMultiConfig(DatabaseConfigurationTestHelper.java:152) at org.apache.commons.configuration.TestDatabaseConfiguration.testGetPropertyDirectMultiple(TestDatabaseConfiguration.java:207)
Caused by: org.dbunit.dataset.NoSuchTableException: configurationList
at org.dbunit.database.DatabaseDataSet.getTableMetaData(DatabaseDataSet.java:192) at org.dbunit.operation.DeleteAllOperation.execute(DeleteAllOperation.java:98) at org.dbunit.operation.CompositeOperation.execute(CompositeOperation.java:67) at org.apache.commons.configuration.DatabaseConfigurationTestHelper.setUpDataSource(DatabaseConfigurationTestHelper.java:215) at org.apache.commons.configuration.DatabaseConfigurationTestHelper.getDatasource(DatabaseConfigurationTestHelper.java:180)
        ... 28 more

It seems like the table is no more created automatically?

Oliver

[1] http://gump.zones.apache.org/gump/test/apache-commons/commons-configuration-test/gump_file/org.apache.commons.configuration.TestDatabaseConfiguration.txt.html


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to