mirror of
https://github.com/ceph/ceph
synced 2024-12-19 09:57:05 +00:00
13bc625b5f
Unittests are run sequentially and could take a long while to run. This commit is about using gtest-parallel on some of them which are known to be very slow due to this sequentiality. To enable the parallel features, the 'parallel' argument just have to be added to the add_ceph_unittest() call like in : -add_ceph_unittest(unittest_throttle) +add_ceph_unittest(unittest_throttle parallel) This commit impact the following tests : Test name Before After (in seconds) unittest_erasure_code_shec_all: 212 43 unittest_throttle 15 5 unittest_crush 9 6 unittest_rbd_mirror 79 21 Total 315 75 This commit saves 240 seconds (4 minutes) per build. Note it exist several other long tests but can't be parallelized since there is explicit dependencies in the order to run the subtests. Those stay sequential. Signed-off-by: Erwan Velu <erwan@redhat.com> |
||
---|---|---|
.. | ||
modules |