| Index: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/http_timeout.py
|
| diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/http_timeout.py b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/http_timeout.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e7587a77aec1b4891d76e99c0f6b03b4426f3399
|
| --- /dev/null
|
| +++ b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/http_timeout.py
|
| @@ -0,0 +1,26 @@
|
| +# Copyright 2016 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +from telemetry.page import page as page_module
|
| +from telemetry import story
|
| +
|
| +
|
| +class BypassOnTimeoutPage(page_module.Page):
|
| +
|
| + def __init__(self, url, page_set):
|
| + super(BypassOnTimeoutPage, self).__init__(url=url, page_set=page_set)
|
| +
|
| +
|
| +class BypassOnTimeoutStorySet(story.StorySet):
|
| + """This site takes 60s to respond when being accessed by proxy."""
|
| +
|
| + def __init__(self):
|
| + super(BypassOnTimeoutStorySet, self).__init__()
|
| +
|
| + urls_list = [
|
| + 'http://chromeproxy-test.appspot.com/blackhole'
|
| + ]
|
| +
|
| + for url in urls_list:
|
| + self.AddStory(BypassOnTimeoutPage(url, self))
|
|
|