[pgjdbc/pgjdbc] 90e53c: test: Disable no-arg callable statement tests in s...

From: Sehrope Sarkuni <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] 90e53c: test: Disable no-arg callable statement tests in s...
Date: 2022-01-25 17:12:37
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/d281a7-90e53c@github.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 90e53cbbf213da67c49f2ddc511b86acd0fb0154
https://github.com/pgjdbc/pgjdbc/commit/90e53cbbf213da67c49f2ddc511b86acd0fb0154
Author: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>
Date: 2022-01-25 (Tue, 25 Jan 2022)

Changed paths:
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/BaseTest4.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc3/Jdbc3CallableStatementTest.java

Log Message:
-----------
test: Disable no-arg callable statement tests in simple query mode

Disables the JDBC function call syntax callable statement tests with no arguments
when running the test suite in simple query mode. The new tests fail with simple
query mode as internal JDBC-to-native query parser generates SQL that contains
the out parameters in the SQL body which is only ignored by the server when
processed in an extended parse, bind, execute sequence. When executed as a simple
query command the server does not ignore the extra parameters and the query
fails.

This commit does not fix anything yet. It simply skips the new failing test in simple
query mode so that the rest of the quite can execute. The behavior of the driver has
not changed in the recent additions either, the new tests simply brought to light an
existing issue with simple query mode.

See #2399 for more details.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2022-01-26 16:33:30 [pgjdbc/pgjdbc] ed54b8: Revert "perf: add read(b,o,l) to BlobInputStream (...
Previous Message Nick Burgan 2022-01-24 18:39:29 [pgjdbc/pgjdbc] d281a7: Add cert key type checking to chooseClientAlias (#...