Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Pavel Raiskup
64db6e8f41 Disable unpredictable test to fix FTBFS
Related: rhbz#1406931
Version: 9.4.1209-6
2016-12-22 23:23:28 +01:00
2 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java.ORIG 2016-12-21 14:09:40.340533352 -0600
+++ pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java 2016-12-21 14:10:40.239090270 -0600
@@ -112,7 +112,7 @@
suite.addTestSuite(LoginTimeoutTest.class);
suite.addTestSuite(TestACL.class);
- suite.addTestSuite(ConnectTimeoutTest.class);
+ // suite.addTestSuite(ConnectTimeoutTest.class);
suite.addTestSuite(PGPropertyTest.class);

View file

@ -47,7 +47,7 @@
Summary: JDBC driver for PostgreSQL
Name: postgresql-jdbc
Version: %upstreammajor.%{upstreamrel}
Release: 5%{?dist}
Release: 6%{?dist}
# ASL 2.0 applies only to postgresql-jdbc.pom file, the rest is BSD
License: BSD and ASL 2.0
URL: http://jdbc.postgresql.org/
@ -60,6 +60,10 @@ Source1: postgres-testing.sh
# having separate spec file for it, too.
Source2: https://github.com/pgjdbc/pgjdbc-parent-poms/archive/REL%parent_ver.tar.gz
# disable test that makes unpredictable assumptions about non-routable IPs
# See https://github.com/pgjdbc/pgjdbc/issues/556
Patch0: disable-ConnectTimeoutTest.patch
BuildArch: noarch
BuildRequires: java-devel >= 1.8
BuildRequires: maven-local
@ -104,6 +108,8 @@ This package contains the API Documentation for %{name}.
mv pgjdbc-REL%version/* .
mv pgjdbc-parent-poms-REL%parent_ver pgjdbc-parent-poms
%patch0
# remove any binary libs
find -name "*.jar" -or -name "*.class" | xargs rm -f
@ -185,6 +191,10 @@ opts="-f"
%changelog
* Thu Dec 22 2016 Pavel Raiskup <praiskup@redhat.com> - 9.4.1209-6
- Disable unpredictable test to fix FTBFS (BZ#1406931),
patch by Merlin Mathesius
* Thu Jul 21 2016 gil cattaneo <puntogil@libero.it> 9.4.1209-5
- fix postgresql-jdbc.jar symlink using javapackages macros
- adapt to current guideline