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

Move test_utils module from demos repo #1955

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

christophfroehlich
Copy link
Contributor

@christophfroehlich christophfroehlich commented Dec 17, 2024

As integration testing gets more popular I propose to release the test_utils from the ros2_control_demos repository.

I added it to the controller_manager package to be able to use it in the test for the ros2_control_node.

@christophfroehlich christophfroehlich changed the title Add/test utils Move test_utils module from demos repo Dec 17, 2024
@christophfroehlich christophfroehlich marked this pull request as ready for review December 17, 2024 20:00
Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.38%. Comparing base (b039baa) to head (2a8f8aa).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1955      +/-   ##
==========================================
+ Coverage   87.74%   88.38%   +0.64%     
==========================================
  Files         122      120       -2     
  Lines       13019    12950      -69     
  Branches     1166     1156      -10     
==========================================
+ Hits        11423    11446      +23     
+ Misses       1165     1063     -102     
- Partials      431      441      +10     
Flag Coverage Δ
unittests 88.38% <ø> (+0.64%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 6 files with indirect coverage changes

Copy link
Member

@saikishor saikishor left a comment

Choose a reason for hiding this comment

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

LGTM. A nice addition

namespace_api = "/"

while time.time() - start < 10.0 and not all(found.values()):
node_names_namespaces = node.get_node_names_and_namespaces()
Copy link
Contributor

Choose a reason for hiding this comment

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

Wasn't that the functionality that was causing trouble for us in the spawner when waiting for the controller manager?

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.

3 participants