DescriptionFix flakiness and re-enable http search in find_in_page.FindMatchTests.testSearchInPDF
Add loop to _VerifySearchInPDFURL to try FindInPage 10 times and re-raise
the exception on the final loop. This is required because
_GetResultFromJSONRequest appears to timeout if called before the PDF has
loaded.
Add timeout parameter to pyauto.FindInPage to be passed to
_GetResultFromJSONRequest to speed up the loop in _VerifySearchInPDFURL
from the default of 45 seconds to 1 second.
Re-enable test on Mac.
BUG=107448, 70927, 93956
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114589
Patch Set 1 #
Total comments: 6
Patch Set 2 : '' #Patch Set 3 : '' #
Messages
Total messages: 8 (0 generated)
|