Buildfarm test failure

From: Mike Fowler <mike(at)mlfowler(dot)com>
To: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Buildfarm test failure
Date: 2012-11-01 20:52:33
Message-ID: 5092E111.8000306@mlfowler.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
testfix.patch text/x-diff 1.6 KB

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2012-11-01 21:01:03 Re: Buildfarm test failure
Previous Message Shijun Kong 2012-11-01 19:23:54 Re: Publish artifacts to Maven central