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

Side by Side Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/http_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: nit missing period 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 from telemetry.page import page as page_module
6 from telemetry import story
7
8
9 class BypassOnTimeoutPage(page_module.Page):
10
11 def __init__(self, url, page_set):
12 super(BypassOnTimeoutPage, self).__init__(url=url, page_set=page_set)
13
14
15 class BypassOnTimeoutStorySet(story.StorySet):
16 """This site takes 60s to respond when being accessed by proxy."""
17
18 def __init__(self):
19 super(BypassOnTimeoutStorySet, self).__init__()
20
21 urls_list = [
22 'http://chromeproxy-test.appspot.com/blackhole'
23 ]
24
25 for url in urls_list:
26 self.AddStory(BypassOnTimeoutPage(url, self))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698