]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
CMakeLists: Modify CEPH_TEST_TIMEOUT from 3600s to 7200s
authorluo rixin <luorixin@huawei.com>
Sat, 27 Jan 2024 06:59:11 +0000 (14:59 +0800)
committerluo rixin <luorixin@huawei.com>
Tue, 20 Feb 2024 02:48:56 +0000 (10:48 +0800)
There are some older Arm server running pretty slow, the make
check jobs like `check-generated.sh` are killed as the job timeout.
Make CEPH_TEST_TIMEOUT more longer.

Signed-off-by: luo rixin <luorixin@huawei.com>
CMakeLists.txt
cmake/modules/AddCephTest.cmake

index f2df55a75e12bb042329a2c116c2f72681870a96..5e80c260b403deaf14f5f3a8a079e3878200c30b 100644 (file)
@@ -586,7 +586,7 @@ option(PG_DEBUG_REFS "PG Ref debugging is enabled" OFF)
 
 option(WITH_TESTS "enable the build of ceph-test package scripts/binaries" ON)
 set(UNIT_TESTS_BUILT ${WITH_TESTS})
-set(CEPH_TEST_TIMEOUT 3600 CACHE STRING 
+set(CEPH_TEST_TIMEOUT 7200 CACHE STRING
   "Maximum time before a CTest gets killed" )
 
 # fio
index 2784567c68711c943d65811a78fbfa2fc7925c3f..591552f834eaeebd07f9a7f560b0a6a248641f84 100644 (file)
@@ -19,7 +19,6 @@ function(add_ceph_test test_name test_path)
     PATH=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}:${CMAKE_SOURCE_DIR}/src:$ENV{PATH}
     PYTHONPATH=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/cython_modules/lib.3:${CMAKE_SOURCE_DIR}/src/pybind
     CEPH_BUILD_VIRTUALENV=${CEPH_BUILD_VIRTUALENV})
-  # none of the tests should take more than 1 hour to complete
   set_property(TEST ${test_name}
     PROPERTY TIMEOUT ${CEPH_TEST_TIMEOUT})
 endfunction()