| Index: tools/chrome_proxy/webdriver/smoke.py
|
| diff --git a/tools/chrome_proxy/webdriver/smoke.py b/tools/chrome_proxy/webdriver/smoke.py
|
| index b0a8991dd1e7adeb7b270c7fa0098cfa6b6f7220..f29dc235a850ca8dd162d0137cebaf392dd9f0bd 100644
|
| --- a/tools/chrome_proxy/webdriver/smoke.py
|
| +++ b/tools/chrome_proxy/webdriver/smoke.py
|
| @@ -21,34 +21,6 @@ class Smoke(IntegrationTest):
|
| t.LoadURL('http://check.googlezip.net/test.html')
|
| for response in t.GetHTTPResponses():
|
| self.assertNotHasChromeProxyViaHeader(response)
|
| -
|
| - # Ensure Chrome uses DataSaver with QUIC enabled.
|
| - def testCheckPageWithQuicProxy(self):
|
| - with TestDriver() as t:
|
| - t.AddChromeArg('--enable-spdy-proxy-auth')
|
| - t.AddChromeArg('--enable-quic')
|
| - t.AddChromeArg('--data-reduction-proxy-http-proxies=https://proxy.googlezip.net:443')
|
| - t.AddChromeArg('--force-fieldtrials=DataReductionProxyUseQuic/Enabled')
|
| - t.LoadURL('http://check.googlezip.net/test.html')
|
| - responses = t.GetHTTPResponses()
|
| - self.assertEqual(2, len(responses))
|
| - for response in responses:
|
| - self.assertHasChromeProxyViaHeader(response)
|
| -
|
| - # Verify that histogram DataReductionProxy.Quic.ProxyStatus has at least 1
|
| - # sample. This sample must be in bucket 0 (QUIC_PROXY_STATUS_AVAILABLE).
|
| - proxy_status = t.GetHistogram('DataReductionProxy.Quic.ProxyStatus')
|
| - self.assertLessEqual(1, proxy_status['count'])
|
| - self.assertEqual(0, proxy_status['sum'])
|
| -
|
| - # Navigate to one more page to ensure that established QUIC connection
|
| - # is used for the next request. Give 3 seconds extra headroom for the QUIC
|
| - # connection to be established.
|
| - time.sleep(3)
|
| - t.LoadURL('http://check.googlezip.net/test.html')
|
| - proxy_usage = t.GetHistogram('Net.QuicAlternativeProxy.Usage')
|
| - # Bucket ALTERNATIVE_PROXY_USAGE_NO_RACE should have at least onesample.
|
| - self.assertLessEqual(1, proxy_usage['buckets'][0]['count'])
|
|
|
| # Ensure Chrome uses DataSaver in normal mode.
|
| def testCheckPageWithNormalMode(self):
|
|
|