Skip to content

Commit

Permalink
Relax a histogram check
Browse files Browse the repository at this point in the history
Bug: 985165
Change-Id: I91eb189866736809732380f8c9bc1243ad9d19d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715974
Reviewed-by: Robert Ogden <robertogden@chromium.org>
Commit-Queue: rajendrant <rajendrant@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680879}
  • Loading branch information
rajendrant authored and Commit Bot committed Jul 25, 2019
1 parent a5e7763 commit 629a5db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/chrome_proxy/webdriver/fallback.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def testSecureProxyProbeFallback(self):
# Verify that DataReductionProxy.ProbeURL histogram has one entry in
# FAILED_PROXY_DISABLED, which is bucket=1.
histogram = test_driver.GetBrowserHistogram('DataReductionProxy.ProbeURL')
self.assertEqual(histogram['count'], 1)
self.assertEqual(histogram['buckets'][0]['low'], 1)
self.assertGreaterEqual(histogram['count'], 1)
self.assertGreaterEqual(histogram['buckets'][0]['low'], 1)
for response in responses:
self.assertHasProxyHeaders(response)
# TODO(rajendrant): Fix the correct protocol received.
Expand Down

0 comments on commit 629a5db

Please sign in to comment.