Commit a3d573db authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Increase test timeouts to avoid failures for builds on slow disks

parent 22a1b605
diff -uNr ceph-14.2.0/src/pybind/mgr/dashboard/tests/test_task.py ceph-14.2.0-fix_tests/src/pybind/mgr/dashboard/tests/test_task.py diff -uNr ceph-14.2.0/src/pybind/mgr/dashboard/tests/test_task.py ceph-14.2.0-fix_tests/src/pybind/mgr/dashboard/tests/test_task.py
--- ceph-14.2.0/src/pybind/mgr/dashboard/tests/test_task.py 2019-03-18 20:38:29.000000000 +1030 --- ceph-14.2.0/src/pybind/mgr/dashboard/tests/test_task.py 2019-03-18 20:38:29.000000000 +1030
+++ ceph-14.2.0-fix_tests/src/pybind/mgr/dashboard/tests/test_task.py 2019-05-19 15:24:40.820130918 +0930 +++ ceph-14.2.0-fix_tests/src/pybind/mgr/dashboard/tests/test_task.py 2019-06-11 15:32:06.593766060 +0930
@@ -207,27 +207,6 @@ @@ -207,27 +207,6 @@
ex_t, _ = TaskManager.list('test5/*') ex_t, _ = TaskManager.list('test5/*')
self.assertEqual(len(ex_t), 0) self.assertEqual(len(ex_t), 0)
...@@ -29,3 +29,25 @@ diff -uNr ceph-14.2.0/src/pybind/mgr/dashboard/tests/test_task.py ceph-14.2.0-fi ...@@ -29,3 +29,25 @@ diff -uNr ceph-14.2.0/src/pybind/mgr/dashboard/tests/test_task.py ceph-14.2.0-fi
def test_finished_cleanup(self): def test_finished_cleanup(self):
TaskManager.FINISHED_TASK_SIZE = 2 TaskManager.FINISHED_TASK_SIZE = 2
TaskManager.FINISHED_TASK_TTL = 0.5 TaskManager.FINISHED_TASK_TTL = 0.5
diff -uNr ceph-14.2.0/src/test/CMakeLists.txt ceph-14.2.0-fix_tests/src/test/CMakeLists.txt
--- ceph-14.2.0/src/test/CMakeLists.txt 2019-03-18 20:38:29.000000000 +1030
+++ ceph-14.2.0-fix_tests/src/test/CMakeLists.txt 2019-06-11 15:27:10.318847414 +0930
@@ -528,6 +528,7 @@
if(WITH_RBD)
add_ceph_test(run-rbd-unit-tests.sh ${CMAKE_CURRENT_SOURCE_DIR}/run-rbd-unit-tests.sh)
+ set_tests_properties(run-rbd-unit-tests.sh PROPERTIES TIMEOUT 7200)
if(FREEBSD)
add_ceph_test(rbd-ggate.sh ${CMAKE_CURRENT_SOURCE_DIR}/rbd-ggate.sh)
endif(FREEBSD)
diff -uNr ceph-14.2.0/src/test/mgr/CMakeLists.txt ceph-14.2.0-fix_tests/src/test/mgr/CMakeLists.txt
--- ceph-14.2.0/src/test/mgr/CMakeLists.txt 2019-03-18 20:38:29.000000000 +1030
+++ ceph-14.2.0-fix_tests/src/test/mgr/CMakeLists.txt 2019-06-11 15:28:46.037144204 +0930
@@ -2,6 +2,7 @@
if(WITH_MGR_DASHBOARD_FRONTEND)
if(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64|arm|ARM")
add_ceph_test(mgr-dashboard-frontend-unittests ${CMAKE_SOURCE_DIR}/src/pybind/mgr/dashboard/run-frontend-unittests.sh)
+ set_tests_properties(mgr-dashboard-frontend-unittests PROPERTIES TIMEOUT 7200)
endif(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64|arm|ARM")
add_ceph_test(mgr-dashboard-smoke.sh ${CMAKE_CURRENT_SOURCE_DIR}/mgr-dashboard-smoke.sh)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment