Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parametrize all rosbag2_tests for both supported storage plugins (#1221)
* Start parametrizing rosbag2_tests with new framework Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com> * All record tests pass with parametrized Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com> * Parametrize test_rosbag2_cpp_api Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com> * test_reindex paramized Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com> * Paramize play_end_to_end Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com> * Paramize test_info_end_to_end Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com> * rosbag2_tests: correct directory name for existing_dir test Signed-off-by: James Smith <james@foxglove.dev> Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com> Signed-off-by: James Smith <james@foxglove.dev> Co-authored-by: James Smith <james@foxglove.dev>
- Loading branch information
1 parent
c7c7954
commit 5d56fb9
Showing
35 changed files
with
244 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
File renamed without changes.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
rosbag2_bagfile_information: | ||
version: 6 | ||
storage_identifier: mcap | ||
duration: | ||
nanoseconds: 151137181 | ||
starting_time: | ||
nanoseconds_since_epoch: 1586406456763032325 | ||
message_count: 7 | ||
topics_with_message_count: | ||
- topic_metadata: | ||
name: /array_topic | ||
type: test_msgs/msg/Arrays | ||
serialization_format: cdr | ||
offered_qos_profiles: "- history: 3\n depth: 0\n reliability: 1\n durability: 2\n deadline:\n sec: 0\n nsec: 0\n lifespan:\n sec: 0\n nsec: 0\n liveliness: 1\n liveliness_lease_duration:\n sec: 0\n nsec: 0\n avoid_ros_namespace_conventions: false" | ||
message_count: 4 | ||
- topic_metadata: | ||
name: /test_topic | ||
type: test_msgs/msg/BasicTypes | ||
serialization_format: cdr | ||
offered_qos_profiles: "- history: 3\n depth: 0\n reliability: 1\n durability: 2\n deadline:\n sec: 0\n nsec: 0\n lifespan:\n sec: 0\n nsec: 0\n liveliness: 1\n liveliness_lease_duration:\n sec: 0\n nsec: 0\n avoid_ros_namespace_conventions: false" | ||
message_count: 3 | ||
compression_format: "" | ||
compression_mode: "" | ||
relative_file_paths: | ||
- cdr_test_0.mcap | ||
files: | ||
- path: cdr_test_0.mcap | ||
starting_time: | ||
nanoseconds_since_epoch: 1586406456763032325 | ||
duration: | ||
nanoseconds: 151137181 | ||
message_count: 7 | ||
custom_data: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
rosbag2_bagfile_information: | ||
version: 6 | ||
storage_identifier: mcap | ||
duration: | ||
nanoseconds: 151137181 | ||
starting_time: | ||
nanoseconds_since_epoch: 1586406456763032325 | ||
message_count: 7 | ||
topics_with_message_count: | ||
- topic_metadata: | ||
name: /array_topic | ||
type: test_msgs/msg/Arrays | ||
serialization_format: wrong_format | ||
offered_qos_profiles: "- history: 3\n depth: 0\n reliability: 1\n durability: 2\n deadline:\n sec: 0\n nsec: 0\n lifespan:\n sec: 0\n nsec: 0\n liveliness: 1\n liveliness_lease_duration:\n sec: 0\n nsec: 0\n avoid_ros_namespace_conventions: false" | ||
message_count: 4 | ||
- topic_metadata: | ||
name: /test_topic | ||
type: test_msgs/msg/BasicTypes | ||
serialization_format: wrong_format | ||
offered_qos_profiles: "- history: 3\n depth: 0\n reliability: 1\n durability: 2\n deadline:\n sec: 0\n nsec: 0\n lifespan:\n sec: 0\n nsec: 0\n liveliness: 1\n liveliness_lease_duration:\n sec: 0\n nsec: 0\n avoid_ros_namespace_conventions: false" | ||
message_count: 3 | ||
compression_format: "" | ||
compression_mode: "" | ||
relative_file_paths: | ||
- wrong_rmw_test_0.mcap | ||
files: | ||
- path: wrong_rmw_test_0.mcap | ||
starting_time: | ||
nanoseconds_since_epoch: 1586406456763032325 | ||
duration: | ||
nanoseconds: 151137181 | ||
message_count: 7 | ||
custom_data: ~ |
Binary file not shown.
Binary file removed
BIN
-6.42 KB
rosbag2_tests/resources/reindex_test_bags/file_compression/file_compression_0.db3.zstd
Binary file not shown.
Binary file removed
BIN
-6.26 KB
rosbag2_tests/resources/reindex_test_bags/file_compression/file_compression_1.db3.zstd
Binary file not shown.
Binary file removed
BIN
-6.11 KB
rosbag2_tests/resources/reindex_test_bags/file_compression/file_compression_2.db3.zstd
Binary file not shown.
Binary file removed
BIN
-1.85 KB
rosbag2_tests/resources/reindex_test_bags/file_compression/file_compression_3.db3.zstd
Binary file not shown.
Binary file removed
BIN
-84 KB
rosbag2_tests/resources/reindex_test_bags/message_compression/message_compression_0.db3
Binary file not shown.
Binary file removed
BIN
-80 KB
rosbag2_tests/resources/reindex_test_bags/message_compression/message_compression_1.db3
Binary file not shown.
Binary file removed
BIN
-80 KB
rosbag2_tests/resources/reindex_test_bags/message_compression/message_compression_2.db3
Binary file not shown.
Binary file removed
BIN
-16 KB
rosbag2_tests/resources/reindex_test_bags/message_compression/message_compression_3.db3
Binary file not shown.
Binary file removed
BIN
-16 KB
rosbag2_tests/resources/reindex_test_bags/multiple_files/multiple_files_0.db3
Binary file not shown.
Binary file removed
BIN
-16 KB
rosbag2_tests/resources/reindex_test_bags/multiple_files/multiple_files_1.db3
Binary file not shown.
Binary file removed
BIN
-16 KB
rosbag2_tests/resources/reindex_test_bags/multiple_files/multiple_files_2.db3
Binary file not shown.
34 changes: 0 additions & 34 deletions
34
rosbag2_tests/resources/reindex_test_bags/target_metadata/file_compression/metadata.yaml
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
rosbag2_tests/resources/reindex_test_bags/target_metadata/message_compression/metadata.yaml
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
rosbag2_tests/resources/reindex_test_bags/target_metadata/multiple_files/metadata.yaml
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.