Skip to content
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

fix(dev/release): Increase test discovery timeout value #300

Merged
merged 1 commit into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,13 @@ if(NANOARROW_BUILD_TESTS)
target_link_libraries(nanoarrow_hpp_test nanoarrow gtest_main coverage_config)

include(GoogleTest)
gtest_discover_tests(utils_test)
gtest_discover_tests(buffer_test)
gtest_discover_tests(array_test)
gtest_discover_tests(schema_test)
gtest_discover_tests(array_stream_test)
gtest_discover_tests(nanoarrow_hpp_test)
# Some users have reported a timeout with the default value of 5
# Building with -DBUILD_SHARED_LIBS=ON may also help reduce the size of test
# executables.
gtest_discover_tests(utils_test DISCOVERY_TIMEOUT 10)
gtest_discover_tests(buffer_test DISCOVERY_TIMEOUT 10)
gtest_discover_tests(array_test DISCOVERY_TIMEOUT 10)
gtest_discover_tests(schema_test DISCOVERY_TIMEOUT 10)
gtest_discover_tests(array_stream_test DISCOVERY_TIMEOUT 10)
gtest_discover_tests(nanoarrow_hpp_test DISCOVERY_TIMEOUT 10)
endif()
2 changes: 1 addition & 1 deletion CMakeUserPresets.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
"name": "user-test-preset",
"description": "",
"displayName": "(user) test preset)",
"displayName": "(user) test preset",
"configurePreset": "user-local",
"environment": {
"CTEST_OUTPUT_ON_FAILURE": "1"
Expand Down
Loading