Skip to content

Commit

Permalink
add discovery timeout to gtests
Browse files Browse the repository at this point in the history
  • Loading branch information
usatiuk committed Jan 5, 2024
1 parent 275f120 commit 5ea76e5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/chunkers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ target_link_libraries(
BuzhashTest PRIVATE
GTest::gtest_main chunkers
)
gtest_discover_tests(BuzhashTest)
gtest_discover_tests(BuzhashTest DISCOVERY_TIMEOUT 600)

2 changes: 1 addition & 1 deletion tests/clitests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ target_link_libraries(
CLITests PRIVATE
GTest::gtest_main testUtils
)
gtest_discover_tests(CLITests)
gtest_discover_tests(CLITests DISCOVERY_TIMEOUT 600)

2 changes: 1 addition & 1 deletion tests/crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ target_link_libraries(
GTest::gtest_main crypto
)

gtest_discover_tests(CryptoTests)
gtest_discover_tests(CryptoTests DISCOVERY_TIMEOUT 600)

2 changes: 1 addition & 1 deletion tests/fulltests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ target_link_libraries(
GTest::gtest_main commands utils testUtils repo
)

gtest_discover_tests(FullTest)
gtest_discover_tests(FullTest DISCOVERY_TIMEOUT 600)

4 changes: 2 additions & 2 deletions tests/repo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ target_link_libraries(
GTest::gtest_main commands utils testUtils repo
)

gtest_discover_tests(ChunkTest)
gtest_discover_tests(FileRepositoryTest)
gtest_discover_tests(ChunkTest DISCOVERY_TIMEOUT 600)
gtest_discover_tests(FileRepositoryTest DISCOVERY_TIMEOUT 600)

0 comments on commit 5ea76e5

Please sign in to comment.