DescriptionPrerender: avoid race condition with canceling prerender in test.
The test which started flaking started two prerenderers, the second which canceled the first. ChromeOS in particular exposed a race condition where the first prerender would complete before the second had a chance to cancel it. This in retrospect obvious situation exists elsewhere and has an easy fix in a HangingFirstRequestInterceptor which stalls the first prerender indefinitely, causing it to be reliably canceled by the second.
BUG=679090
TBR=droger
Review-Url: https://codereview.chromium.org/2616383002
Cr-Commit-Position: refs/heads/master@{#442918}
Committed: https://chromium.googlesource.com/chromium/src/+/841efc17964ac66ffa6b8b5ff63436f4ff6d52c1
Patch Set 1 #Patch Set 2 : Debugging for windows test failure #Patch Set 3 : hang on subresource for windows #Patch Set 4 : disable load check for windows #Patch Set 5 : Debugging for windows hang #Patch Set 6 : more windows debugging #Patch Set 7 : possible windows race fix #Patch Set 8 : fixed race condition exposed by windows test; removing debugging cruft #Patch Set 9 : remove unused test file fetch complexity #Messages
Total messages: 26 (15 generated)
|