This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 9d6a899c2 test(glib): update PostgreSQL isolation level test to use 
supported values (#3770)
9d6a899c2 is described below

commit 9d6a899c2e1b7560eaedf7229b9a0ef76925760e
Author: Mandukhai Alimaa <[email protected]>
AuthorDate: Thu Dec 4 18:04:06 2025 -0600

    test(glib): update PostgreSQL isolation level test to use supported values 
(#3770)
    
    PostgreSQL driver now supports isolation levels
    (https://github.com/apache/arrow-adbc/pull/3760), so test should verify
    functionality rather than expect NotImplemented errors.
---
 glib/test/test-connection.rb | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/glib/test/test-connection.rb b/glib/test/test-connection.rb
index b6d83ac8c..aa4c2e484 100644
--- a/glib/test/test-connection.rb
+++ b/glib/test/test-connection.rb
@@ -519,13 +519,9 @@ class ConnectionTest < Test::Unit::TestCase
 
   def test_isolation_level
     open_connection do |connection|
-      message =
-        "[adbc][connection][set-option]" +
-        "[NOT_IMPLEMENTED][0] " +
-        "[libpq] Unknown option " +
-        "adbc.connection.transaction.isolation_level"
-      assert_raise(ADBC::Error::NotImplemented.new(message)) do
-        connection.isolation_level = :linearizable
+      connection.isolation_level = :serializable
+      execute_sql(connection, "SELECT 
current_setting('transaction_isolation')") do |table,|
+        assert_equal("serializable", table["current_setting"][0])
       end
     end
   end

Reply via email to