Fix NQE (NetworkQualityEstimator) tests.
commitddf6fa64dd13a1346b1c6968f375458b9886cb30
authortbansal <tbansal@chromium.org>
Tue, 28 Jul 2015 17:40:04 +0000 (28 10:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Jul 2015 17:40:42 +0000 (28 17:40 +0000)
treeeaffd0cf2def0736ea4d58075b5fbaececb6170f
parent4495971d7db4a840689520936794dd401c48c752
Fix NQE (NetworkQualityEstimator) tests.

PercentileSameTimestamps has been failing on Valgrind
because of small differences in the timestamps (that were
being compared).

TestLRUCacheMaximumSize had been failing on Windows
because multiple networks will have the same timestamp.
So, networks added earlier may remain the cache while the
networks added later may get evicted (because both of them
have the same timestamp). This was causing the test
to fail.

BUG=513910, 510689

Review URL: https://codereview.chromium.org/1259833002

Cr-Commit-Position: refs/heads/master@{#340713}
net/base/network_quality_estimator_unittest.cc