Re: Buildfarm test failure - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Buildfarm test failure
Date
Msg-id CADK3HHLUnwoxMq8K8fMgKAH9a26GdR4k7NVQyNLnvdAGtNBTuA@mail.gmail.com
Whole thread Raw
In response to Re: Buildfarm test failure  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: Buildfarm test failure  ("Mike Fowler" <mike@mlfowler.com>)
List pgsql-jdbc
Mike,

Again, thanks

Fixed.


Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca



On Thu, Nov 1, 2012 at 5:01 PM, Dave Cramer <pg@fastcrypt.com> wrote:
Ya, that's my ineptitude with git showing through.

The buildfarm is a good thing.

Thanks

Dave

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca



On Thu, Nov 1, 2012 at 4:52 PM, Mike Fowler <mike@mlfowler.com> wrote:
The buildfarm failed last night whilst performing the JDK 5 builds:

testjar:
    [mkdir] Created dir: /home/ubuntu/buildarea/HEAD/pgjdbc/build/tests
    [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/build.xml:399: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 58 source files to /home/ubuntu/buildarea/HEAD/pgjdbc/build/tests
    [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/test/jdbc2/ArrayTest.java:213: cannot find symbol
    [javac] symbol  : method createArrayOf(java.lang.String,java.lang.String[])
    [javac] location: interface java.sql.Connection
    [javac]         Array sqlArray = conn.createArrayOf("text", strArray);
    [javac]                              ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

I've done some digging and it appears that a test of a JDBC4 method has ended up in the JDBC2 test suite. I've attached a patch that removes the offending test and there is no need to add it to the corresponding JDBC4 tests as it is already present.

Kind regards,
--
Mike Fowler
Registered Linux user: 379787


--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



pgsql-jdbc by date:

Previous
From: Paul Chackola
Date:
Subject: Misspelling in error message
Next
From: dmp
Date:
Subject: Re: 9.1-903 JDBC 3 Download