Skip to content
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

Cleanup of test_node.py. #1153

Merged
merged 1 commit into from Aug 24, 2023
Merged

Conversation

clalancette
Copy link
Contributor

These tests weren't always properly cleaning up after themselves, and were sometimes improperly using the setUp{Class} fixtures. They also didn't always clean up between tests, so sometimes the same node was reused over and over again. Clean all that up here, which should make the tests much more robust.

These tests weren't always properly cleaning up after
themselves, and were sometimes improperly using the
setUp{Class} fixtures.  They also didn't always clean up
between tests, so sometimes the same node was reused
over and over again.  Clean all that up here, which
should make the tests much more robust.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette
Copy link
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

rclpy/test/test_node.py Show resolved Hide resolved
rclpy/test/test_node.py Show resolved Hide resolved
@clalancette clalancette merged commit 93fd107 into rolling Aug 24, 2023
3 checks passed
@clalancette clalancette deleted the clalancette/cleanup-test-node-setup branch August 24, 2023 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants