Skip to content
Commit 6b3c3961 authored by Min Qin's avatar Min Qin Committed by Commit Bot
Browse files

Fix an flaky test for parallel download

This CL fixes an issue in DownloadFileWithError that
when injecting an error on a write offset, we should check if
the offset is overwritten by a write operation, rather than just
the beginning offset.
And then we use this fix to fix the flaky MiddleSliceDelayedError
as the same offset will be overwritten twice by 2 streams.

BUG=1105429, 1106059

Change-Id: Iff9b9d796ed5d86c68b24667096e2089564c4c0c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401312


Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Min Qin <qinmin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805605}
parent e1c533b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment