Fix flaky data saver warmup browsertest
In local testing, there are two separate reasons for flakes: (i) Histogram tester does not return correct values even though the relevant code has already logged the histogram values correctly. (ii) The via header value is set too late by the unittest. The first problem is sort of solved by waiting for the histogram to populate. The second problem is solved by setting the via header value in the test constructor. Bug: 760294 Change-Id: I9ae23e4b704f6eaa51fd9c37f76491008c6cb1c6 Reviewed-on: https://chromium-review.googlesource.com/c/1289689Reviewed-by:Clark DuVall <cduvall@chromium.org> Reviewed-by:
Tarun Bansal <tbansal@chromium.org> Commit-Queue: Tarun Bansal <tbansal@chromium.org> Cr-Commit-Position: refs/heads/master@{#600967}
Showing
Please register or sign in to comment