Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a crash in test_message_cache. (#635)
The cache consumer requires that you call close() before calling change_consumer_callback(). The test forgot the close() call, so was running into a race where changing out the callback was not atomic. Remember to call close() in the test, which should fix some occasional failures in CI. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
- Loading branch information