Allow tests to run in parallel - #2296
Conversation
|
610c79e to
ec96b1a
Compare
|
|
@jan-cerny can I get a review on this? |
|
Rebased on latest main. |
|
matusmarhefka
left a comment
There was a problem hiding this comment.
Nice improvement, before:
Total Test time (real) = 425.16 sec
After:
Total Test time (real) = 172.90 sec
Once we merge this, consider updating https://src.fedoraproject.org/tests/openscap/blob/main/f/Sanity/smoke-test/runtest.sh#_124 as well to benefit from tests parallelization too.
So that we run tests in parallel
If you had "OpenSCAP" in your path to the OpenSCAP repo it would cause issues
|



Significantly speed up the tests if ran with
-j. See each commit for details. We have room for additional speed up if we can removeRESOURCE_LOCKgroups.Review hints
ctest -j$(nproc)a few times.