isapego commented on code in PR #7875:
URL: https://github.com/apache/ignite-3/pull/7875#discussion_r2991341625


##########
modules/platforms/cpp/tests/odbc-test/transaction_test.cpp:
##########
@@ -657,5 +657,7 @@ TEST_F(transaction_test, 
heartbeat_disable_connection_is_closed) {
 
     ret = SQLEndTran(SQL_HANDLE_ENV, m_env, SQL_ROLLBACK);
 
-    EXPECT_EQ(ret, SQL_ERROR);
+    std::cout << "Error message: " << get_odbc_error_message(SQL_HANDLE_ENV, 
m_env) << std::endl;
+
+    EXPECT_TRUE(ret == SQL_ERROR || ret == SQL_SUCCESS_WITH_INFO);

Review Comment:
   I would prefer it to return `SQL_SUCCESS_WITH_INFO` on Linux as well, but on 
Linux it get's rejected on Driver Manager level



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to