Any way to speedup downloads during tests?

francesco.balestrieri's Avatar

francesco.balestrieri

08 Dec, 2015 11:45 AM

Hello,

I'm trying to setup a CI environment for the Crosswalk Project's build tools (https://crosswalk-project.org). Some of the tests need to download the Crosswalk package from our download folder, e.g. https://download.01.org/crosswalk/releases/crosswalk/android/stable/15.44.384.13/crosswalk-15.44.384.13.zip, which is about 43Mb. The download is taking a very long time and will easily exceed the max build time of one hour. Is there anything I could do to make this faster? It usually only takes a few 10s of seconds to complete the download from a PC.

Thanks!

  1. Support Staff 1 Posted by Feodor Fitsner on 08 Dec, 2015 02:21 PM

    Feodor Fitsner's Avatar

    What AppVeyor account/project is that?

    - Feodor

  2. 2 Posted by francesco.bales... on 08 Dec, 2015 03:00 PM

    francesco.balestrieri's Avatar
  3. 3 Posted by francesco.bales... on 08 Dec, 2015 03:20 PM

    francesco.balestrieri's Avatar

    I just tried to download the same file with appveyor DownloadFile https://download.01.org/crosswalk/releases/crosswalk/android/stable/15.44.384.13/crosswalk-15.44.384.13.zip and it was much faster, there must be something with the tests.

  4. 4 Posted by francesco.bales... on 08 Dec, 2015 03:25 PM

    francesco.balestrieri's Avatar

    If it helps, the slow download uses the nodejs http/https api. We are also printing a progress bar as the download proceeds.

  5. 5 Posted by francesco.bales... on 08 Dec, 2015 05:19 PM

    francesco.balestrieri's Avatar

    It turns out that we were just logging too much to the console. Sorry for the noise and thanks for the response!

  6. Support Staff 6 Posted by Feodor Fitsner on 08 Dec, 2015 05:20 PM

    Feodor Fitsner's Avatar

    OK, thanks for the update!

    - Feodor

  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:02 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac