forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compute pressure: Fix while loop to end earlier
On some testing bot, the while loop in testing seems to take most of the time and the callback of the observer is not invoked on time, which leads to timeout. A step_timeout is also added to give a time to the event loop to invoke the callback from the observer. Bug: 1501324 Change-Id: I33e2253067e537e036b484e7e3fb62fe567346b9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5126032 Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Raphael Kubo Da Costa <[email protected]> Commit-Queue: Arnaud Mandy <[email protected]> Cr-Commit-Position: refs/heads/main@{#1250091}
- Loading branch information
1 parent
ce63114
commit 8987e79
Showing
2 changed files
with
10 additions
and
9 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