-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Servo] Use a WallRate so the clock is monotonically increasing #1543
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1543 +/- ##
==========================================
+ Coverage 51.06% 51.11% +0.05%
==========================================
Files 380 380
Lines 31802 31802
==========================================
+ Hits 16238 16253 +15
+ Misses 15564 15549 -15
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
CI has passed 3X in a row now. I'm going to see if I can re-enable some of the tests that were previously commented. |
9f24667
to
f871086
Compare
@AndyZe do you want to try to re-enable other tests in this PR or is this good to merge? |
I tried re-enabling them but saw some compiler errors because the API has changed, I guess. I'd be happy to push that to later. |
* [Servo] Use a WallRate so the clock is monotonically increasing * Re-enable a commented integration test (cherry picked from commit c134d89)
Description
The default
rclcpp::Rate
uses astd::chrono::system_clock
. Better to use arclcpp::WallRate
here since we only care about the change in time.Hat tip for @ChrisThrasher for bringing this type of issue to my attention.
If we're really lucky, this will fix the flaky Servo tests.