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

Migrate launch tests to new launch_testing features & API #179

Merged
merged 3 commits into from
Apr 30, 2019

Conversation

hidmic
Copy link
Contributor

@hidmic hidmic commented Mar 25, 2019

Connected to ros2/launch#208.

@hidmic hidmic added the in progress Actively being worked on (Kanban column) label Mar 25, 2019
@hidmic hidmic added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Apr 12, 2019
@dirk-thomas
Copy link
Member

Please use a separate commit (which isn't being squashed when merging later) to rename existing files (instead of deleting one and creating another with very similar content).

@hidmic
Copy link
Contributor Author

hidmic commented Apr 22, 2019

Please use a separate commit to rename existing files

Hmm, it is true that the two current tests were based upon an existing one that was later deleted. But this isn't pure renaming, the original test was split in two. Would you rather have the original test renamed to one of the current ones?

@dirk-thomas
Copy link
Member

I just want the history to be preserved. If you want to use a different filename then you should rename the file in a separate commit without making any changes to it. Follow up commits can then change the content in any way.

@hidmic hidmic force-pushed the hidmic/import_launch_testing branch from 98f069f to a96ee95 Compare April 22, 2019 19:10
@hidmic
Copy link
Contributor Author

hidmic commented Apr 22, 2019

Done, sorry about the force push. Github's UI shows the original file as deleted though.

@dirk-thomas
Copy link
Member

@dirk-thomas
Copy link
Member

Looking at the diff now it seems that the service file is also derived from the original file (I though it was a new addition). In that case it would be good to copy the file after renaming it and before making the changes - again to be able to track the changes of the content.

@hidmic hidmic force-pushed the hidmic/import_launch_testing branch from a96ee95 to 835ab7d Compare April 22, 2019 20:07
@hidmic
Copy link
Contributor Author

hidmic commented Apr 22, 2019

Done @dirk-thomas !

hidmic added 3 commits April 23, 2019 16:43
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic hidmic force-pushed the hidmic/import_launch_testing branch from 835ab7d to 1c843f0 Compare April 23, 2019 20:54
Copy link
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

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

LGTM, pending CI

@hidmic
Copy link
Contributor Author

hidmic commented Apr 30, 2019

@jacobperron @dirk-thomas mind to approve with powers? @ivanpauno lacks them.

@hidmic hidmic merged commit 62ad81f into master Apr 30, 2019
@delete-merged-branch delete-merged-branch bot deleted the hidmic/import_launch_testing branch April 30, 2019 22:48
@hidmic hidmic removed the in review Waiting for review (Kanban column) label Apr 30, 2019
dhananjaysathe pushed a commit to rapyuta-robotics/ros1_bridge that referenced this pull request Aug 22, 2019
* Update after launch_testing features becoming legacy.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>

* Rename launch based tests in preparation for a refactor.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>

* Migrate tests to new launch_testing API.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Dhananjay Sathe <dhananjay.sathe@rapyuta-robotics.com>
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.

4 participants