Fix for flaky WebViewTest.Shim_TestFindAPI_findupdate test on msan bots.
Part of what this test tests is canceling an in-progress find session by searching for another search term. The problem that was causing the flakiness was that the find session that was meant to get canceled actually finished (rarely) before the subsequent request made it to the renderer, and so the completed session was not reported as canceled. The small adjustment made in this CL is to only attempt to cancel the search that has many results, so that its find session is much less likely to complete before the next find request comes through. BUG=710486 Review-Url: https://codereview.chromium.org/2857953004 Cr-Commit-Position: refs/heads/master@{#469390}
Showing
Please register or sign in to comment