Skip to content

Commit fdaf290

Browse files
alinaliBQrscales
authored andcommitted
Add Diagnostic tests
Requires SQLDriverConnect Implementation Co-authored-by: rscales <[email protected]>
1 parent 398fc5a commit fdaf290

File tree

5 files changed

+585
-25
lines changed

5 files changed

+585
-25
lines changed

cpp/src/arrow/flight/sql/odbc/tests/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ add_arrow_test(flight_sql_odbc_test
3535
odbc_test_suite.cc
3636
odbc_test_suite.h
3737
connection_test.cc
38+
errors_test.cc
3839
# Enable Protobuf cleanup after test execution
3940
# GH-46889: move protobuf_test_util to a more common location
4041
../../../../engine/substrait/protobuf_test_util.cc

cpp/src/arrow/flight/sql/odbc/tests/connection_test.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ TYPED_TEST_SUITE(ConnectionTest, TestTypes);
3737
template <typename T>
3838
class ConnectionHandleTest : public T {};
3939

40-
class ConnectionRemoteTest : public FlightSQLOdbcHandleRemoteTestBase {};
41-
using TestTypesHandle =
42-
::testing::Types<FlightSQLOdbcHandleMockTestBase, FlightSQLOdbcHandleRemoteTestBase>;
40+
class ConnectionRemoteTest : public FlightSQLOdbcEnvConnHandleRemoteTestBase {};
41+
using TestTypesHandle = ::testing::Types<FlightSQLOdbcEnvConnHandleMockTestBase,
42+
FlightSQLOdbcEnvConnHandleRemoteTestBase>;
4343
TYPED_TEST_SUITE(ConnectionHandleTest, TestTypesHandle);
4444

4545
TEST(ODBCHandles, TestSQLAllocAndFreeEnv) {

0 commit comments

Comments
 (0)