-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test fix: don't keep reference to the controller in the test when it should be destroyed in the controller manager #883
Conversation
The following error message occurs when a node is created with the same name as a node that already exists. `[WARN]`` [1664625270.031583774] [rcl.logging_rosout]: Publisher already registered for provided node name. If this is due to multiple nodes with the same name then all logs for that logger name will go out over the existing publisher. As soon as any node with that name is destructed it will unregister the publisher, preventing any further logs for that name from being published on the rosout topic. With regards to this testcase, |
Thanks for doing a deep dive on this!
Sorry, I see it now at the end. Cool, this looks good, thanks! |
…h controllers directly
…he controller's Node can be deleted.
Any comment on the failing test (the one modified by this PR) ? |
I believe that the failing test is TestLoadController.spawner_test_type_in_arg , the test modified in this PR is TestLoadController.spawner_test_type_in_param. |
The tests prove your point, thanks! :D |
This fixes #827