Fix CronetUrlRequestTest#testFailures flake
When CronetUrlRequest is canceled asynchronously in a callback without being paused, we might already have a onSucceeded() callback in the executor's queue. If that is the case, we won't have a onCanceled() callback. This led to test flake. This CL adjusts the test expectation and adds a comment. R=pauljensen@chromium.org BUG=657415 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Review-Url: https://codereview.chromium.org/2572693003 Cr-Commit-Position: refs/heads/master@{#438526}
Showing
Please register or sign in to comment