fix error when setting ut timeout value (#28696)

musl/fix_failed_unittests_in_musl
YUNSHEN XIE 5 years ago committed by GitHub
parent 628fb29c1b
commit e880c90c5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -621,11 +621,14 @@ endif()
if (WITH_DISTRIBUTE)
set_tests_properties(test_communicator_half_async PROPERTIES TIMEOUT 120)
endif()
if (WITH_DISTRIBUTE AND NOT APPLE)
if(WITH_GPU)
set_tests_properties(test_c_comm_init_op PROPERTIES TIMEOUT 120)
set_tests_properties(test_fleet_checkpoint PROPERTIES TIMEOUT 120)
set_tests_properties(test_launch PROPERTIES TIMEOUT 120)
endif()
set_tests_properties(test_fleet_launch PROPERTIES TIMEOUT 120)
set_tests_properties(test_c_comm_init_op PROPERTIES TIMEOUT 120)
set_tests_properties(test_fleet_checkpoint PROPERTIES TIMEOUT 120)
set_tests_properties(test_launch PROPERTIES TIMEOUT 120)
endif()
# setting timeout value as 15S

Loading…
Cancel
Save