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

Added unit tests for the nodehandles #37

Closed
wants to merge 1 commit into from

Conversation

progtologist
Copy link

Added unit tests that check that the nodelet private and global nodehandles are working correctly. Provided three different launch files that test different scenarios. One of the unit tests is failing.

@progtologist
Copy link
Author

What is holding back this PR from being integrated in the repository?

@mikaelarguedas
Copy link
Member

Hi @progtologist,
Sorry I'm late at the party, could you give a bit more details to bring me up to speed?
I see in #7 that you were investigating the wrong namespace resolution in roscpp and were working on a fix that needed testing before opening a PR. Do you have any update on this ?

Having additional unit tests here is very valuable. Although, I'd prefer not adding known failing tests if we don't have a fix about to be merged. The main motivation for not merging known failing tests is that it will prevent us from detecting regressions in the future.

One way to get this PR in would be to comment out the failing test and link to it in the appropriate issue. Then it can be reenabled to validate the corresponding fix when it's ready for review.

@progtologist
Copy link
Author

Hello @mikaelarguedas,

I never got the time to investigate the problem in roscpp, as far as I could tell, the problem was far from trivial and required some effort that I could not justify in my schedule. Also unit tests in roscpp are not really covering all possible combinations, so I wouldn't want to break stuff while fixing this issue.

Since you wouldn't want to merge tests that fail without their respective fixes (justifiable), can you postpone closing this until I can workout a fix for the nodehandles (possibly on February or March)?

@mikaelarguedas
Copy link
Member

@progtologist I'm considering commenting out the failing test and keep the issue open to track it but merge the other ones because they are great additions that improve coverage. Would you be ok with that for the time being ?

@mikaelarguedas mikaelarguedas mentioned this pull request Jul 17, 2017
@mikaelarguedas
Copy link
Member

@progtologist I created #64 rebasing this branch and commenting out the failing test.

Once #7 has been fixed upstream, c88d78d can be reverted to reenable the test

Thanks for the contribution!

@mikaelarguedas
Copy link
Member

Closing in favor of #64

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.

2 participants