Function rosbag2_test_common::wait_for_storage_files

Function Documentation

inline void rosbag2_test_common::wait_for_storage_files(const std::filesystem::path &root_bag_path, size_t expected_count = 1, std::chrono::duration<float> timeout = std::chrono::seconds(10))

Wait until at least expected_count storage files appear in bag_path. Throws on timeout.