You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address flakiness in rosbag2_play_end_to_end tests (ros2#1297)
* Make test_rosbag2_play_end_to_end more deterministic
- Change QoS depth in test databases to correspond number of messages
- Change QoS durability to transient local in test DB and mcap file
- Explicitly specify QoS depth = 10 for subscribers
- Explicitly specify QoS reliability to reliable for subscribers
- Explicitly specify QoS durability to transient local for subscribers
- Update metadata in test DB and mcap files to the latest version(7)
- Remove xfail test_rosbag2_play_end_to_end
Signed-off-by: Michael Orlov <[email protected]>
* Add wait_for_matched for record_end_to_end_exits_gracefully_on_sigterm
- Remove xfail for test_rosbag2_info_end_to_end
Signed-off-by: Michael Orlov <[email protected]>
* Fix for play_filters_by_topic test
- Uncomment play_filters_by_topic test
- Use proper qos settings for subscribers in `play_filters_by_topic`
and fix expectations about number of published messages.
- Log warning if SubscriptionManager::continue_spinning(..) finished by
timeout.
- Enable `play_end_to_end_test` for windows.
Signed-off-by: Michael Orlov <[email protected]>
* Make test_rosbag2_play_end_to_end deterministic
- Start player in pause mode and wait on subscribers for matched
publishers from player then send resume service call to unpause.
- Add spin_and_wait_for_matched(topic_names) for SubscriptionManager
Signed-off-by: Michael Orlov <[email protected]>
* Remove redundant includes from test_rosbag2_play_end_to_end.cpp
Signed-off-by: Michael Orlov <[email protected]>
* Sleep for a few milliseconds in SubscriptionManager to avoid busy loop
Signed-off-by: Michael Orlov <[email protected]>
* Update rosbag2_test_common/include/rosbag2_test_common/subscription_manager.hpp
Co-authored-by: Chris Lalancette <[email protected]>
Signed-off-by: Michael Orlov <[email protected]>
Co-authored-by: Chris Lalancette <[email protected]>
* Add missing include<thread> in process_execution_helpers_unix.hpp
Signed-off-by: Michael Orlov <[email protected]>
* Address race condition in process termination routines
- Added wait_until_completion(process_id, timeout) helper function
Signed-off-by: Michael Orlov <[email protected]>
* Move wait_until_completion before stop_execution to fix compilation error
Signed-off-by: Michael Orlov <[email protected]>
* Fix for Windows build error. Rename process_id to handle.
Signed-off-by: Michael Orlov <[email protected]>
* Increase timeout for service call and wait_until_completion up to 10 sec
Signed-off-by: Michael Orlov <[email protected]>
---------
Signed-off-by: Michael Orlov <[email protected]>
Co-authored-by: Chris Lalancette <[email protected]>
0 commit comments