Added polling in DRP integration tests to support Data Saver API.
commitc9d5f8671ddfbc4d8a6c2988e4818517c19f7de2
authorsclittle <sclittle@chromium.org>
Wed, 16 Sep 2015 18:33:53 +0000 (16 11:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 16 Sep 2015 18:34:51 +0000 (16 18:34 +0000)
treee1e1021b9de0d05a63c6bec852beb4e8f54452d0
parentf33ede5376d08decca03c1e039c4eab2727577f1
Added polling in DRP integration tests to support Data Saver API.

When the Data Saver API is in use, there is currently a race between the
Data Saver API fetch and the test pages loaded by the integration tests.
This change makes the tests wait until the Data Saver API fetch
finishes.

This CL should fix the flakiness in the DRP integration tests caused by
this race.

BUG=526827

Review URL: https://codereview.chromium.org/1349493002

Cr-Commit-Position: refs/heads/master@{#349167}
tools/chrome_proxy/common/chrome_proxy_measurements.py
tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
tools/chrome_proxy/live_tests/chrome_proxy_measurements.py