Message-ID: From: "cfredri4 (@cfredri4)" To: "pgjdbc/pgjdbc" Date: Thu, 03 Jul 2025 14:09:08 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3705: feat: default query timeout property In-Reply-To: References: List-Id: X-GitHub-Author-Login: cfredri4 X-GitHub-Comment-Id: 3032423437 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3705 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3705#issuecomment-3032423437 Content-Type: text/plain; charset=utf-8 There is a failing test but it seems unrelated? ``` SslTest STANDARD_OUT Configuration file C:\projects\pgjdbc\pgjdbc\..\ssltest.local.properties does not exist. Consider adding it to specify test db host and login FAILURE 0.0sec, org.postgresql.test.ssl.SslTest > initializationError org.postgresql.util.PSQLException: The connection attempt failed. at app//org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:385) at app//org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:57) at app//org.postgresql.jdbc.PgConnection.(PgConnection.java:286) at app//org.postgresql.Driver.makeConnection(Driver.java:448) at app//org.postgresql.Driver.connect(Driver.java:298) at platform/java.sql@21.0.2/java.sql.DriverManager.getConnection(DriverManager.java:683) at platform/java.sql@21.0.2/java.sql.DriverManager.getConnection(DriverManager.java:191) at app//org.postgresql.test.TestUtil.openDB(TestUtil.java:358) at app//org.postgresql.test.TestUtil.openPrivilegedDB(TestUtil.java:327) at app//org.postgresql.test.TestUtil.openPrivilegedDB(TestUtil.java:318) at app//org.postgresql.test.ssl.SslTest.dropRoles(SslTest.java:288) Suppressed: org.opentest4j.TestAbortedException: Assumption failed: assumption is not true at app//org.postgresql.test.TestUtil.assumeSslTestsEnabled(TestUtil.java:266) at app//org.postgresql.test.ssl.SslTest.createRoles(SslTest.java:268) Suppressed: org.opentest4j.TestAbortedException: Assumption failed: assumption is not true at app//org.postgresql.test.TestUtil.assumeSslTestsEnabled(TestUtil.java:266) at app//org.postgresql.test.ssl.SslTest.createRoles(SslTest.java:268) Caused by: java.net.SocketTimeoutException: Read timed out at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:278) at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:304) at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:346) at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:796) at java.base/java.net.Socket$SocketInputStream.read(Socket.java:1099) at org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:192) at org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:159) at org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:144) at org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:76) at org.postgresql.core.PGStream.receiveChar(PGStream.java:477) at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:627) at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:207) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:289) ... 10 more ```