-
Notifications
You must be signed in to change notification settings - Fork 3.9k
GH-47786: [C++][FlightRPC] Establish ODBC tests #47788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
// TODO: once RegisterDsn is implemented in Mac and Linux, the following can be | ||
// re-enabled. | ||
#if defined _WIN32 || defined _WIN64 | ||
bool WriteDSN(std::string connection_str) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please raise a GitHub issue for this todo
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
void FlightSQLODBCRemoteTestBase::SetUp() { | ||
if (arrow::internal::GetEnvVar(TEST_CONNECT_STR).ValueOr("").empty()) { | ||
GTEST_SKIP() << "Skipping FlightSQLODBCRemoteTestBase test: TEST_CONNECT_STR not set"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change to use arrow log for this?
Co-Authored-By: rscales <[email protected]> Co-Authored-By: justing-bq <[email protected]> Co-Authored-By: alinalibq <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Rationale for this change
#47786
What changes are included in this PR?
Created a new directory/subproject for tests.
Added a testing utility class called
odbc_test_suite
.Created new test file with one simple test.
Are these changes tested?
Yes
Are there any user-facing changes?
No