• Eugene But's avatar
    [ios] Speculative fix for DownloadManagerTestCase flakiness · 70430b99
    Eugene But authored
    DownloadManagerTestCase is flaky on the bots with slow CPU but works
    fine on the bot with fast CPU. So it is possible that flakiness is
    related to test server performance.
    
    Before this CL test server would produce a 50KB download file by yielding
    blocks of 1 byte size. This CL updates the server to yield 1KB blocks
    to improve performance, and introduces 100ms delay between yielding each
    block to keep the download realistically slow.
    
    Bug: 1066150, 914113
    Change-Id: Ib3a35eb1e849e82dd47cda45b68261634813114e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2130817
    Commit-Queue: Eugene But <eugenebut@chromium.org>
    Auto-Submit: Eugene But <eugenebut@chromium.org>
    Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#755403}
    70430b99
embedded_test_server_handlers.cc 5.3 KB