Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py

Issue 2206363002: Added integration test to Chrome Proxy to verify direct connection on remote site timeout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated timing to server=90s and test=120s Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..70aa55bcb8b23683cdd8da9db9d8b25a915e5ed1 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 ChromeProxyBypassOnTimeout(ChromeProxyBenchmark):
+ """Check that the proxy bypasses when origin times out.
+
+ If the origin site does not make an HTTP response in a reasonable
+ amount of time, the proxy should bypass.
+ """
+ tag = 'timeout_bypass'
+ test = measurements.ChromeProxyBypassOnTimeout
+ page_set = pagesets.BypassOnTimeoutStorySet
+
+ @classmethod
+ def Name(cls):
+ return 'chrome_proxy_benchmark.timeout_bypass.timeout_bypass'
+
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'
« no previous file with comments | « no previous file | tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698