Skip to content

Commit

Permalink
[Tests] CppUnit tests fail if run in parallel
Browse files Browse the repository at this point in the history
This is because some of them may find a port unavailable
as port numbers are fixed in the tests to 9999.
  • Loading branch information
amadio committed Jun 19, 2023
1 parent 87b0d27 commit 1ae4579
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/XrdClTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ foreach(TEST_SUITE
)
add_test(NAME XrdCl::${TEST_SUITE}
COMMAND $<TARGET_FILE:test-runner> $<TARGET_FILE:XrdClTests> "All Tests/${TEST_SUITE}Test")
set_tests_properties(XrdCl::${TEST_SUITE} PROPERTIES RUN_SERIAL TRUE)
endforeach()

#-------------------------------------------------------------------------------
Expand Down

0 comments on commit 1ae4579

Please sign in to comment.