Wait for QuicServer to process all requests before checking for errors.
The test referred to in the bug below has been flaky on multiple platforms: iOS(1032568) and FuchsiaOS(813631) as well as Win 7 and MacOS on Edge. This PR includes a short change which should fix this. It seems like the QuicServer running asynchronously hasn't had time to process all requests which is causing a race condition when the check in line 421 is made. So we wait until the server is finished processing the requests before making the expect check. Bug: 1032568 Change-Id: I52dc909b7167d811126fab99cf2b7ad334b2d96e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2008627Reviewed-by:Zhongyi Shi <zhongyi@chromium.org> Commit-Queue: Zhongyi Shi <zhongyi@chromium.org> Cr-Commit-Position: refs/heads/master@{#736150}
Showing
Please register or sign in to comment