Buildfarm test failure - Mailing list pgsql-jdbc

From Mike Fowler
Subject Buildfarm test failure
Date
Msg-id 5092E111.8000306@mlfowler.com
Whole thread Raw
Responses Re: Buildfarm test failure
Re: Buildfarm test failure
List pgsql-jdbc
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

Attachment

pgsql-jdbc by date:

Previous
From: Shijun Kong
Date:
Subject: Re: Publish artifacts to Maven central
Next
From: Dave Cramer
Date:
Subject: Re: Buildfarm test failure