Descriptionpredictors: Wait for the cache cleaning synchronously.
chrome::ClearCache() is asynchronous so there was possibility that cache is
cleared after prefetching causing flakiness.
This problem was almost hidden by that fact that the last navigation (after
prefetching) also caused prefetching. So the probability that cache is cleared
after the second prefetching was even less.
This CL also changes command line flag to disable the second prefetching because
it only tangles the tests.
BUG=650253
Committed: https://crrev.com/f15203e94ad5245c9ab50fbc0e1385ef403d0903
Cr-Commit-Position: refs/heads/master@{#440379}
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 11 (6 generated)
|