We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eaa4f0 commit 14e5cf2Copy full SHA for 14e5cf2
test/db/postgresql/simple_test.rb
@@ -194,7 +194,9 @@ def test_extensions
194
jdbc_connection.protoConnection.class.class_eval { field_reader :pgStream }
195
196
timeout = jdbc_connection.protoConnection.pgStream.getSocket.getSoTimeout
197
- assert_equal 10 * 1000, timeout
+ if connect_timeout = current_connection_config[:connect_timeout]
198
+ assert_equal connect_timeout.to_i * 1000, timeout
199
+ end
200
end if defined? JRUBY_VERSION
201
202
0 commit comments