-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
kvserver: fix two silly testing bugs #76731
Conversation
The intention of `Forward` was to move the timestamp returned by `UnixNano` forward. Instead, it was adding an absolute clock timestamp to the delta added to each timestamp, which could overflow if only you did it often enough (as I ended up doing). Release note: None
This is innocuous since the method in which this is used returns a callback that undoes the stopping of the heartbeats, and all tests which really wanted to pass `false` call that closure immediately. But it does matter for some tests that I am writing right now. Release note: None
TFTR! bors r=erikgrinaker |
Build failed (retrying...): |
This PR was included in a batch that was canceled, it will be automatically retried |
Build failed (retrying...): |
Build failed (retrying...): |
Build failed (retrying...): |
bors r=erikgrinaker |
Already running a review |
Build failed: |
This is already tracked but good to see it happen in another test, maybe easier to repro that way. #76649
bors r=erikgrinaker |
Build failed (retrying...): |
Build succeeded: |
Release note: None