-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nextest-runner] improvements to PausableSleep
1. In `poll`, unconditionally call `this.sleep.poll`. The rationale is in the attached comment. 2. Fix `reset_original_duration` to work correctly with paused timers, and rename it to `reset_last_duration`. 3. Add `reset` to reset to a given duration.
- Loading branch information
1 parent
5cb87ad
commit 4885cae
Showing
2 changed files
with
97 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters