forked from ros2/launch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use --isolated if no ROS_DOMAIN_ID is set to help parallel testing (r…
…os2#251) * Make auto selected domain ID show up in test log Signed-off-by: Pete Baughman <pete.baughman@apex.ai> * Use deterministic selection for domain isolation - On my linux machine running the ROS nightly docker image, it makes domain selection take about 1ms on average when coordinating 50 isolated domains - If there's another platform where opening sockets is significantly slower, the old random seed code is still here, but commented out Signed-off-by: Pete Baughman <pete.baughman@apex.ai> * Put logic to disable isolation in launch_test - This respects the value of ROS_DOMAIN_ID that's set when the test is run. - Setting this in launch_testing_ament_cmake used the value at build time, which was unintuitive Signed-off-by: Pete Baughman <pete.baughman@apex.ai> * update description Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com> * combine conditions Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
- Loading branch information
1 parent
d2f1e49
commit 5f8ffc3
Showing
3 changed files
with
38 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters