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

Unified Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/proxy_timeout.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: 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
Index: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/proxy_timeout.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/html5test.py b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/proxy_timeout.py
similarity index 54%
copy from tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/html5test.py
copy to tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/proxy_timeout.py
index 00139cf062e3097a40743ce28d7fa08428690e1b..64e6cddcd806ff900473d403f708d19bf9c0ff44 100644
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/html5test.py
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/proxy_timeout.py
@@ -6,22 +6,22 @@ from telemetry.page import page as page_module
from telemetry import story
-class HTML5TestPage(page_module.Page):
+class ClientBypassOnTimeoutPage(page_module.Page):
def __init__(self, url, page_set):
- super(HTML5TestPage, self).__init__(url=url, page_set=page_set)
+ super(ClientBypassOnTimeoutPage, self).__init__(url=url, page_set=page_set)
-class HTML5TestStorySet(story.StorySet):
+class ClientBypassOnTimeoutStorySet(story.StorySet):
""" Chrome proxy test page for traffic over https. """
def __init__(self):
- super(HTML5TestStorySet, self).__init__()
+ super(ClientBypassOnTimeoutStorySet, self).__init__()
urls_list = [
- 'http://html5test.com/',
+ 'http://check.googlezip.net/test.html',
]
for url in urls_list:
- self.AddStory(HTML5TestPage(url, self))
+ self.AddStory(ClientBypassOnTimeoutPage(url, self))

Powered by Google App Engine
This is Rietveld 408576698