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

isapego pushed a commit to branch ignite-27304
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/ignite-27304 by this push:
     new cbd1897609a IGNITE-27304: Fix test
cbd1897609a is described below

commit cbd1897609a9c12abf1d2202ab2b3bde61563cfd
Author: Igor Sapego <[email protected]>
AuthorDate: Wed Mar 25 22:45:29 2026 +0100

    IGNITE-27304: Fix test
---
 modules/platforms/cpp/tests/odbc-test/transaction_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/platforms/cpp/tests/odbc-test/transaction_test.cpp 
b/modules/platforms/cpp/tests/odbc-test/transaction_test.cpp
index 6aa765f2654..d5aa3649939 100644
--- a/modules/platforms/cpp/tests/odbc-test/transaction_test.cpp
+++ b/modules/platforms/cpp/tests/odbc-test/transaction_test.cpp
@@ -659,5 +659,5 @@ TEST_F(transaction_test, 
heartbeat_disable_connection_is_closed) {
 
     std::cout << "Error message: " << get_odbc_error_message(SQL_HANDLE_ENV, 
m_env) << std::endl;
 
-    EXPECT_EQ(ret, SQL_ERROR);
+    EXPECT_TRUE(ret == SQL_ERROR || ret == SQL_SUCCESS_WITH_INFO);
 }

Reply via email to