Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
ceph
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
ceph
Commits
a3d573db
Commit
a3d573db
authored
Jun 11, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase test timeouts to avoid failures for builds on slow disks
parent
22a1b605
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
ceph-14.2.0-fix_tests.patch
ceph-14.2.0-fix_tests.patch
+23
-1
No files found.
ceph-14.2.0-fix_tests.patch
View file @
a3d573db
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-0
5-19 15:24:40.820130918
+0930
+++ ceph-14.2.0-fix_tests/src/pybind/mgr/dashboard/tests/test_task.py 2019-0
6-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)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment