You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can use isolated ROS2 partitions to run tests in parallel. This is very useful with pytest-parallel, e.g. when you can run pytest --workers $((2 * $(nproc))). For this, you need to set the ROS_DOMAIN_ID:
importosimportrandomifuse_random_domain_id:
if"ROS_DOMAIN_ID"inos.environ:
warn("the user about the fact that they already specified it")
os.environ["ROS_DOMAIN_ID"] =str(random.randint(0, 232)) # or maybe more clever?
The text was updated successfully, but these errors were encountered:
We can use isolated ROS2 partitions to run tests in parallel. This is very useful with pytest-parallel, e.g. when you can run
pytest --workers $((2 * $(nproc)))
. For this, you need to set theROS_DOMAIN_ID
:The text was updated successfully, but these errors were encountered: