Skip to content

Commit

Permalink
Attempt to solve Windows timeout by specifying gtest DISCOVERY_TIMEOUT (
Browse files Browse the repository at this point in the history
#2165)

* Attempt to solve Windows timeout by specifying gtest DISCOVERY_TIMEOUT

* Add additional config flag
  • Loading branch information
mewim committed Oct 6, 2023
1 parent 9d0d480 commit 4aa1d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function(add_kuzu_test TEST_NAME)
target_link_libraries(${TEST_NAME} PRIVATE test_helper test_runner graph_test)
target_include_directories(${TEST_NAME} PRIVATE ${PROJECT_SOURCE_DIR}/test/include)
include(GoogleTest)
gtest_discover_tests(${TEST_NAME})
gtest_discover_tests(${TEST_NAME} DISCOVERY_TIMEOUT 600 DISCOVERY_MODE PRE_TEST)
endfunction()

add_definitions(-DKUZU_ROOT_DIRECTORY="${PROJECT_SOURCE_DIR}")
Expand Down

0 comments on commit 4aa1d07

Please sign in to comment.