| Index: tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py
|
| diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py b/tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py
|
| index adcc24119d44203115f6ac398875be9ccb145e19..5d7ff72527832150c7f8a28bd083f809349a7243 100644
|
| --- a/tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py
|
| +++ b/tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py
|
| @@ -191,6 +191,9 @@ class ChromeProxyMetric(network_metrics.NetworkMetric):
|
| raise ChromeProxyMetricException, (
|
| 'Chrome proxy should be enabled. proxy info: %s' % info)
|
|
|
| + if not info['badProxies']:
|
| + return False, []
|
| +
|
| bad_proxies = [str(p['proxy']) for p in info['badProxies']]
|
| bad_proxies.sort()
|
| proxies = [self.effective_proxies['proxy'],
|
|
|