[Paint Preview] Ensure request succeeds to avoid timeout
While there was a fix for the scoped blocking issue, it looks like there are still some rare timeouts. I believe that this is caused by the initial capture request not succeeding due to a race between crashing and creating a file (this only applies to the FileSystem variant). I did repro the flake locally, but it only occurred in 1/250 runs so while this CL is a probable fix candidate I'm not 100% confident in it and will continue to monitor for flakes. Bug: 1163655 Change-Id: I05efbf25d8e41cac0c48e0993cd47352d423dcdd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2625307 Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org> Commit-Queue: Mehran Mahmoudi <mahmoudi@chromium.org> Auto-Submit: Calder Kitagawa <ckitagawa@chromium.org> Reviewed-by:Mehran Mahmoudi <mahmoudi@chromium.org> Cr-Commit-Position: refs/heads/master@{#842713}
Showing
Please register or sign in to comment