CronetUrlRequestTest#testFailures
CronetUrlRequestTest#testFailures() simulates callback failures in each response step. However, the response step is not updated in onFailed, so maybeThrowCancelOrPause() will throw an exception again. This results in a flake in the Java implementation. This CL updates response step in TestUrlRequestCallback, and adds two more tests to make sure throwing exception or canceling does nothing in terminal callbacks (onFailed, onCanceled, onSucceeded) R=kapishnikov@chromium.org BUG=635026 Review-Url: https://codereview.chromium.org/2292113002 Cr-Commit-Position: refs/heads/master@{#415764}
Showing
Please register or sign in to comment