Re: Build failed in Hudson: Cayenne-trunk » h2,JDK 1.5 (latest),Ubuntu #372

From: Michael Gentry (mgentr..asslight.net)
Date: Tue Oct 05 2010 - 12:49:25 UTC

  • Next message: Andrus Adamchik: "Re: Build failed in Hudson: Cayenne-trunk » h2,JDK 1.5 (latest),Ubuntu #372"

    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 - 12:51:05 UTC