-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-49004: [C++][FlightRPC] Run ODBC tests in workflow without cpp_test.sh
#49005
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
Run test executables once without re-runs and without using test script. This way the segmentation fault is not caught.
|
|
| - name: Run ODBC Unit Tests | ||
| shell: cmd | ||
| run: | | ||
| build\cpp\%ARROW_BUILD_TYPE%\arrow-odbc-spi-impl-test.exe | ||
| - name: Run ODBC Driver Tests | ||
| shell: cmd | ||
| run: | | ||
| build\cpp\%ARROW_BUILD_TYPE%\arrow-flight-sql-odbc-test.exe |
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.
raulcd
left a comment
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.
If I understand correctly this test segfaults if not run in isolation and run as part of ci/scripts/cpp_test.sh?
I am not an expert here but if my understanding is correct I think we should rather investigate why it segfaults instead of hiding it.
| call "cpp\src\arrow\flight\sql\odbc\tests\install_odbc.cmd" ${{ github.workspace }}\build\cpp\%ARROW_BUILD_TYPE%\arrow_flight_sql_odbc.dll | ||
| # GH-48270 TODO: Resolve segementation fault during Arrow library unload | ||
| # GH-48269 TODO: Enable Flight & Flight SQL testing in MSVC CI | ||
| # GH-48270 TODO: Resolve segementation fault during Arrow library unload, segementation fault is caught with `ci/scripts/cpp_test.sh` |
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.
| # GH-48270 TODO: Resolve segementation fault during Arrow library unload, segementation fault is caught with `ci/scripts/cpp_test.sh` | |
| # GH-48270 TODO: Resolve segmentation fault during Arrow library unload, segmentation fault is caught with `ci/scripts/cpp_test.sh` |
Rationale for this change
#49004
If running tests in CI without the
cpp_test.shscript is a no-go, please let me know and I will close the PR.What changes are included in this PR?
arrow-odbc-spi-impl-test.exeandarrow-flight-sql-odbc-test.exein the ODBC job of C++ Extra CI.Are these changes tested?
Yes, in CI
Are there any user-facing changes?
N/A
cpp_test.sh#49004