Re: Build failed in Hudson: Cayenne-trunk » derbyJDK 1.6 (latest) #8

From: Aristedes Maniatis (ar..aniatis.org)
Date: Thu Dec 10 2009 - 18:14:48 EST

  • Next message: Andrus Adamchik: "Re: Build failed in Hudson: Cayenne-trunk � derby,JDK 1.6 (latest) #88"

    On 11/12/09 5:17 AM, Andrus Adamchik wrote:
    > These are all known issues with Derby... E.g. from the last release vote
    > thread:
    >
    > On Nov 6, 2009, at 11:22 AM, Ольга Ткачева wrote:
    >
    >> Derby (2 Tests in error: )
    >> -
    >> testDifferentEntity(org.apache.cayenne.access.DataContextEJBQLSubqueryTest)
    >>
    >> - testExists(org.apache.cayenne.access.DataContextEJBQLSubqueryTest)
    >
    >
    > Once we migrate to a better test infrastructure, there should be a way
    > to selectively disable tests for certain DBs. For now we have to deal
    > with partial failures on some of them.

    How about something really simple like

    if (! System.getProperty("CayenneTestConnection").equals("derby")) {
            run test...
    }

    That is, if these test failures are actually for real and SHOULD not pass on Derby. Otherwise, I'll just configure Hudson to only send emails when the test failures change from run to run, not when they remain the same.

    Ari

    -- 
    

    --------------------------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A



    This archive was generated by hypermail 2.0.0 : Thu Dec 10 2009 - 18:15:41 EST