Thread: [pgjdbc/pgjdbc] 08d812: Make ConnectTimeout test acceptNoRouteToHostExcep...

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 08d81291c69d02d8973d6b39dac82bdaad91f2ee
      https://github.com/pgjdbc/pgjdbc/commit/08d81291c69d02d8973d6b39dac82bdaad91f2ee
  Author: Craig Ringer <craig@2ndquadrant.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