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

Unified Diff: tools/chrome_proxy/webdriver/reenable_after_bypass.py

Issue 2834813003: Add slow test decorator (Closed)
Patch Set: Created 3 years, 8 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 | « tools/chrome_proxy/webdriver/decorators.py ('k') | tools/chrome_proxy/webdriver/video.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/chrome_proxy/webdriver/reenable_after_bypass.py
diff --git a/tools/chrome_proxy/webdriver/reenable_after_bypass.py b/tools/chrome_proxy/webdriver/reenable_after_bypass.py
index b5e9daf68e6c9b49fb65c77451958e4549b8c37b..4fcea97a9e074cde7d9cfc99742ef253517bd941 100644
--- a/tools/chrome_proxy/webdriver/reenable_after_bypass.py
+++ b/tools/chrome_proxy/webdriver/reenable_after_bypass.py
@@ -7,7 +7,7 @@ import time
import common
from common import TestDriver
from common import IntegrationTest
-
+from decorators import Slow
class ReenableAfterBypass(IntegrationTest):
"""Tests for ensuring that DRPs are reenabled after bypasses expire.
@@ -20,6 +20,7 @@ class ReenableAfterBypass(IntegrationTest):
# Verify that longer bypasses triggered by the Data Reduction Proxy only last
# as long as they're supposed to, and that the proxy is used once again after
# the bypass has ended.
+ @Slow
def testReenableAfterSetBypass(self):
with TestDriver() as test_driver:
test_driver.AddChromeArg('--enable-spdy-proxy-auth')
@@ -49,6 +50,7 @@ class ReenableAfterBypass(IntegrationTest):
# Verify that when the Data Reduction Proxy responds with the "block=0"
# directive, Chrome bypasses all proxies for the next 1-5 minutes.
+ @Slow
def testReenableAfterBypass(self):
with TestDriver() as test_driver:
test_driver.AddChromeArg('--enable-spdy-proxy-auth')
« no previous file with comments | « tools/chrome_proxy/webdriver/decorators.py ('k') | tools/chrome_proxy/webdriver/video.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698