-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further deflake PDF extension printing tests
The change in https://crrev.com/1183850 helped with reducing flakiness, but there have still been failures occurring. The fix to wait for the print job to be released was insufficient, in particular for Windows. There are cases where a released print job will still be in the pending state, due to issues in controlled shutdown sequencing. Resolve this by having the tests wait even longer, until the print job has been destroyed. Updates related to pending state must be completed to have gotten to that point. This change in approach alters how the waiting is done, relying upon a PrintJob observation instead of one from PrintViewManagerBase. Since PDF extension tests were the only users of the OnReleasePrintJob() observation, that can now be removed from PrintViewManagerBase. Bug: 1472464 Change-Id: I361851b435b50fa0b3b7e1036a8ebe1d68843038 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4811200 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Alan Screen <awscreen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1188553}
- Loading branch information
Alan Screen
authored and
Chromium LUCI CQ
committed
Aug 25, 2023
1 parent
fa02070
commit a1b58bd
Showing
3 changed files
with
49 additions
and
53 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
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