Chromium Code Reviews| Index: tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py |
| diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py b/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py |
| index 04740c5d6e8b4a687c32f75fad053dce207efc57..98c115c6195dadfe1feeac5aa60059d5dbe6ceee 100644 |
| --- a/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py |
| +++ b/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py |
| @@ -10,6 +10,21 @@ from telemetry import benchmark |
| DESKTOP_PLATFORMS = ['mac', 'linux', 'win', 'chromeos'] |
| WEBVIEW_PLATFORMS = ['android-webview', 'android-webview-shell'] |
| + |
| +class ChromeProxyClientBypassOnTimeout(ChromeProxyBenchmark): |
| + """Check that the client bypasses proxy after HTTP timeout. |
| + |
| + If the proxy times out in responding to the HTTP request, the |
| + client should automatically bypass and fetch the page directly. |
| + """ |
| + tag = 'bypass_timeout' |
| + test = measurements.ChromeProxyClientBypassOnTimeout |
| + page_set = pagesets.ClientBypassOnTimeoutStorySet |
| + |
| + @classmethod |
| + def Name(cls): |
| + return 'chrome_proxy_benchmark.bypass_timeout.bypass_timeout' |
| + |
| class ChromeProxyClientType(ChromeProxyBenchmark): |
| tag = 'client_type' |
| test = measurements.ChromeProxyClientType |
| @@ -316,4 +331,4 @@ class ChromeProxyPingback(ChromeProxyBenchmark): |
| @classmethod |
| def Name(cls): |
| - return 'chrome_proxy_benchmark.pingback' |
| + return 'chrome_proxy_benchmark.pingback' |
|
bustamante
2016/08/03 19:04:39
Nit - Trailing white space should be removed.
Robert Ogden
2016/08/03 21:12:32
Done.
|