Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hlerx-00079A-Py for pgsql-jdbc@arkaria.postgresql.org; Thu, 11 Jul 2019 19:36:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hlerw-0007lw-Is for pgsql-jdbc@arkaria.postgresql.org; Thu, 11 Jul 2019 19:36:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hlerw-0007lp-9v for pgsql-jdbc@lists.postgresql.org; Thu, 11 Jul 2019 19:36:40 +0000 Received: from out-3.smtp.github.com ([192.30.252.194]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hlert-0005oL-Go for pgsql-jdbc@lists.postgresql.org; Thu, 11 Jul 2019 19:36:39 +0000 Date: Thu, 11 Jul 2019 12:36:35 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1562873795; bh=qLhF5DK3EH9Ylu6nn2d1Cy2okE93paSK5VI2F5JkNuA=; h=Date:From:To:Subject:From; b=o95H1/glL+TO0QH43HtsprGvVVQKkcgopAOLR//rQaVzfel1IKpcNW8ZvQqUtdCn+ /uHMUY8gkvonFPhQjXEWbxCla5hmfGjUhOsroGCdpW9Rlkgf++3Jnrt8tjoHwWB1QQ qSLAKyPrAR+sF7LAlMgF2LiGcKe4o3Q5HI+zcf0s= From: Craig Ringer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 08d812: Make ConnectTimeout test accept NoRouteToHostExcep... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 08d81291c69d02d8973d6b39dac82bdaad91f2ee https://github.com/pgjdbc/pgjdbc/commit/08d81291c69d02d8973d6b39dac82bdaad91f2ee Author: Craig Ringer 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