Closed jmirabel closed 1 year ago
Could you make this test run in serial, in the CMakeLists.txt ?
Isn't it already the case ?
It's not
add_python_unit_test(py-path-serialization tests/path_serialization.py src)
?
It is ran when I run make test
.
Sorry, I wasn't clear.
This test is starting a hppcorbaserver process. If you have a CTEST_PARALLEL_LEVEL=X
with X>1
in your environment, and multiple unit-tests are trying to start hppcorbaserver processes at the same time, we get TRANSIENT errors (as seen on gitlab-ci). So we need to tell CTest that this test in particular should be run in serial, even if the user wants parallel execution.
I'm suggesting to add:
set_tests_properties("py-path-serialization" PROPERTIES RUN_SERIAL "ON")
This should make gitlab-ci happy
I updated as suggested. Let's see if CI goes green.
The test implemented in #197 was not working and not even launched.