Commit 6a5c50e
Fix the test failure of wrong messages count (#165)
Generate rclcpp::Node before start_recording since rclcpp::Node will set
parameters of use_sim_time and publish message to parameter_events.
This will cause the wrong messages count in the test.
Signed-off-by: evshary <[email protected]>1 parent 1c5f9aa commit 6a5c50e
File tree
1 file changed
+2
-1
lines changed- rosbag2_transport/test/rosbag2_transport
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments