Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCPN7-0005XO-BL for pgsql-jdbc@arkaria.postgresql.org; Tue, 25 Jan 2022 17:12:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nCPN5-00020W-Cy for pgsql-jdbc@arkaria.postgresql.org; Tue, 25 Jan 2022 17:12:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCPN5-00020N-4U for pgsql-jdbc@lists.postgresql.org; Tue, 25 Jan 2022 17:12:43 +0000 Received: from out-17.smtp.github.com ([192.30.252.200] helo=smtp.github.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCPN0-0003O9-Cs for pgsql-jdbc@lists.postgresql.org; Tue, 25 Jan 2022 17:12:42 +0000 Received: from github.com (hubbernetes-node-a1a24d4.va3-iad.github.net [10.48.207.63]) by smtp.github.com (Postfix) with ESMTPA id 432725C13E2 for ; Tue, 25 Jan 2022 09:12:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1643130757; bh=R4OPpbtCU+dsOeI0mY8hhGoU+DcCnbVMyliXp2rEexg=; h=Date:From:To:Subject:From; b=jcxWjD1plM+lS50JVVhsUrD6EmHVkTgne7dvE0oJFJPZBOlAXV1FOzEy4AkzOSD+L bfcimfFgdS93MA7JJ+9g25G//f8zQdhbDPmY+9GBUdwKNdxP8mKgwPgQJLxDrcjNel lmk1/ykB1qHuJ6F92luMMcz8MgspDIBODSU/TYvI= Date: Tue, 25 Jan 2022 09:12:37 -0800 From: Sehrope Sarkuni To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 90e53c: test: Disable no-arg callable statement tests in s... 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: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 90e53cbbf213da67c49f2ddc511b86acd0fb0154 https://github.com/pgjdbc/pgjdbc/commit/90e53cbbf213da67c49f2ddc511b86acd0fb0154 Author: Sehrope Sarkuni 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.