-
Notifications
You must be signed in to change notification settings - Fork 251
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
rosbag2_transport: parametrize test_rewrite #1206
Conversation
Signed-off-by: James Smith <james@foxglove.dev>
036d2a8
to
fd9effe
Compare
Signed-off-by: James Smith <james@foxglove.dev>
fd9effe
to
8f0ebb6
Compare
Gist: https://gist.githubusercontent.com/james-rms/782d820aa5fac60a9c4b27124b678895/raw/53f6d77935969c69bced3123482fb66971c53af3/ros2.repos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One non-blocking thought - depending how you respond maybe it needs a TODO
at least.
Also, I have been thinking that maybe all of these test bags should be generated in code, rather than checked in to the repo. That way it would be easier to just iterate the storage plugins (or whatever other criteria) and test everything, without manual asset creation. The one place where I see actual checked-in file artifacts being useful is for old format backwards compatibility. But, that could be a really explicit list that has some standard battery run on them.
@@ -30,6 +30,7 @@ | |||
<test_depend>rosbag2_compression_zstd</test_depend> | |||
<test_depend>rosbag2_test_common</test_depend> | |||
<test_depend>rosbag2_storage_default_plugins</test_depend> | |||
<test_depend>rosbag2_storage_mcap</test_depend> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still feeling a bit awkward about this, is there a very strong reason we shouldn't add mcap to the exec_depend
of default plugins? We are planning to ship it, so it doesn't seem to me that there's any harm in doing it.
Or, if we are trying to be very explicit about what we're testing, then maybe rosbag2_storage_sqlite3
is a test_depend
here, and default_plugins
is not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to merge these test coverage PRs with the least externally visible disruption possible, which means not adding rosbag2_storage_mcap
as a default plugin until it actually is one. That might mean a couple of extra lines like this one in some package.xml files which will be reverted later, but I don't think that's too bad.
runs
test_rewrite
using all tested storage IDs, for better test coverage.Signed-off-by: James Smith james@foxglove.dev