-
Notifications
You must be signed in to change notification settings - Fork 216
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
Update internal timers to use NewTimerWithOptions #1618
Update internal timers to use NewTimerWithOptions #1618
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, may want to wait until @Quinn-With-Two-Ns's approval though
@yuandrew - Looks like you can merge if/when CI passes (I kicked it again, looks like flaky test) |
@cretz looks like there's a regression with the |
* switch internal timers to use options, expose StaticSummary and StaticDetails * plumb options through AwaitWithTimeout * create new API, don't break existing API * missed a spot to remove API change * add experimental tag, fix test * take out StaticSummary StaticDetails changes * missed a few spots * remove duplicate code * cleaner code share * AwaitOptions * alias AwaitOptions in public package * add unit test * wip * test works with prettifyString logging * clean up * no need for unit test now that we have better E2E test * remove print
What was changed
NewTimer
toNewTimerWithOptions
AwaitWithTimeoutAndOption
to allow specifying options for the underlyingtimer
that's createdWhy?
Because there's now a way to give a summary for internal timers, change internal code to use the new timer with summary command.
Checklist
Closes Update internal timers to use NewTimerWithOptions and a summary #1602
How was this tested: