Update experiment test to only verify /exptest/... are bypassed
The exp_directive test verifies the experiment flag is passed to the page, by bypassing any request to http://aws1.mdw.la/exptest/... when the flag --data-reduction-proxy-experiment=test is set. Which works as expected. However the favicon request from http://aws1.mdw.la/favicon.ico won't be bypassed, causing the test to fail. To fix the test, I'm adding an optional url_pattern parameter to the bypass verification, that will verify only /exptest/ urls are checked. BUG=488232 Review URL: https://codereview.chromium.org/1141923004 Cr-Commit-Position: refs/heads/master@{#330644}
Showing
Please register or sign in to comment