[Cronet] Adjust some tests to run on fast devices/emulators.
Some devices/emulators run quickly so requests take less than 1ms, which causes some test failures. Fix them using MetricsTestUtil.assertAfter() and also clean up copies of that code. Bug: 751184 Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester Change-Id: Icdce80479a887276b8921b4168a96c65b12d0143 Reviewed-on: https://chromium-review.googlesource.com/596073 Commit-Queue: Paul Jensen <pauljensen@chromium.org> Reviewed-by:Miriam Gershenson <mgersh@chromium.org> Cr-Commit-Position: refs/heads/master@{#491076}
Showing
Please register or sign in to comment