[pgjdbc/pgjdbc] 08d812: Make ConnectTimeout test accept NoRouteToHostExcep...

From: Craig Ringer <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] 08d812: Make ConnectTimeout test accept NoRouteToHostExcep...
Date: 2019-07-11 19:36:35
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/ce8333-08d812@github.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 08d81291c69d02d8973d6b39dac82bdaad91f2ee
https://github.com/pgjdbc/pgjdbc/commit/08d81291c69d02d8973d6b39dac82bdaad91f2ee
Author: Craig Ringer <craig(at)2ndquadrant(dot)com>
Date: 2019-07-11 (Thu, 11 Jul 2019)

Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/QueryExecutorBase.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/ConnectTimeoutTest.java

Log Message:
-----------
Make ConnectTimeout test accept NoRouteToHostException (#1526)

* Fix a NullPointerException in uncommon failure cases

* Skip ConnectTimeout timeout on hosts that throw NoRouteToHostException

If a host throws NoRouteToHostException before the ConnectTimeout, the test
has neither failed nor succeeded.

Github issue #1526

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Rader 2019-07-17 11:49:16 Procedure support improvements
Previous Message Álvaro Hernández 2019-07-08 18:30:13 SCRAM v2: adding support for Java7 and SaslPrep