[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Now I have something to look at. :-)
On Tue, Oct 5, 2010 at 8:55 AM, Andrus Adamchik <andru..bjectstyle.org> wrote:
> That explains it. You need to configure in-memory H2. E.g. here is mine:
>
> ~: cat ~/.cayenne/connection.properties |grep h2
>
> h2.cayenne.adapter = org.apache.cayenne.dba.h2.H2Adapter
> h2.jdbc.username = username
> h2.jdbc.password = password
> h2.jdbc.url = jdbc:h2:mem:myTestMem;MVCC=TRUE
> h2.jdbc.driver = org.h2.Driver
>
> Andrus
>
> On Oct 5, 2010, at 3:49 PM, Michael Gentry wrote:
>
>> Hi Andrus,
>>
>> Mine gives:
>>
>> INFO: Invalid connection key 'h2', trying default: internal_embedded_datasource
>>
>> And then uses HSQLDB.
>>
>> mrg
>>
>>
>> -------------------------------------------------------
>> T E S T S
>> -------------------------------------------------------
>> Running org.apache.cayenne.access.trans.BatchQueryBuilderTest
>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.427 sec
>> Running org.apache.cayenne.unit.di.DICaseSelfTest
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
>> Running org.apache.cayenne.exp.parser.ExpressionEvaluateInMemoryTest
>> Oct 4, 2010 4:20:00 PM
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> loadBeanDefinitions
>> INFO: Loading XML bean definitions from resource loaded through InputStream
>> Oct 4, 2010 4:20:00 PM org.springframework.core.CollectionFactory <clinit>
>> INFO: Commons Collections 3.x available
>> Oct 4, 2010 4:20:00 PM org.apache.cayenne.unit.CayenneResources setConnectionKey
>> INFO: Invalid connection key 'h2', trying default: internal_embedded_datasource
>> Oct 4, 2010 4:20:00 PM org.apache.cayenne.unit.CayenneResources setConnectionKey
>> INFO: test connection info: [org.apache.cayenne.conn.DataSourceInfo:
>> user name: sa
>> password: **********
>> driver: org.hsqldb.jdbcDriver
>> db adapter class: org.apache.cayenne.dba.hsqldb.HSQLDBAdapter
>> url: jdbc:hsqldb:mem:aname
>> min. connections: 1
>> max. connections: 1
>> ]
>>
>>
>> On Tue, Oct 5, 2010 at 2:46 AM, Andrus Adamchik <andru..bjectstyle.org> wrote:
>>> On Oct 4, 2010, at 11:24 PM, Michael Gentry wrote:
>>>
>>>> Not sure what is going on with Hudson at the moment.
>>>
>>> It is not just Hudson. It is reproducible on my machine.
>>>
>>>
>>>> Just tried with -DcayenneTestConnection=h2, which I hadn't used before:
>>>
>>> So let's compare Maven output. At the test phase of the cayenne-jdk1.5-unpublished project it should print H2 adapter and URL:
>>>
>>> -------------------------------------------------------
>>> T E S T S
>>> -------------------------------------------------------
>>> Running org.apache.cayenne.access.trans.BatchQueryBuilderTest
>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 sec
>>> Running org.apache.cayenne.unit.di.DICaseSelfTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
>>> Running org.apache.cayenne.exp.parser.ExpressionEvaluateInMemoryTest
>>> Oct 5, 2010 9:44:23 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
>>> INFO: Loading XML bean definitions from resource loaded through InputStream
>>> Oct 5, 2010 9:44:23 AM org.springframework.core.CollectionFactory <clinit>
>>> INFO: Commons Collections 3.x available
>>> Oct 5, 2010 9:44:23 AM org.apache.cayenne.unit.CayenneResources setConnectionKey
>>> INFO: test connection info: [org.apache.cayenne.conn.DataSourceInfo:
>>> user name: username
>>> password: **********
>>> driver: org.h2.Driver
>>> db adapter class: org.apache.cayenne.dba.h2.H2Adapter
>>> url: jdbc:h2:mem:myTestMem;MVCC=TRUE
>>> min. connections: 1
>>> max. connections: 1
>>> ]
>>>
>>>
>>> Andrus
>>>
>>>
>>>
>>
>
>
This archive was generated by hypermail 2.0.0 : Tue Oct 05 2010 - 13:06:34 UTC