[rfc][icedtea-web] ResourceTracker Download Performance Test
Jie Kang
jkang at redhat.com
Tue Sep 2 18:23:10 UTC 2014
----- Original Message -----
> Hello,
>
>
> The attached patch adds a single test to ResourceTracker that downloads
> multiple resources from a public github repo hosted by myself. The purpose
> of this is to test that downloading simple resources works and to see the
> performance of our ResourceTracker implementation.
>
> At the moment it is placed in the unit test file ResourceTrackerTest though I
> would not call it a unit test as it does have a non-local dependency on the
> repo. Should we consider adding a separate performance or integration test
> section to our codebase? I think this is a good idea as there are some
> "unit" tests in our codebase that aren't really unit tests and have extra
> requirements when run (ie. not really standalone).
Hello,
Ping;
I have improved the test by making it use a temporary cache. However I don't think downloading from a github repo is the best idea. Does anyone have any suggestions? I think having tests for the download functionality is quite important.
Thanks,
>
>
>
> Regards,
>
> --
>
> Jie Kang
>
--
Jie Kang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itw-rt-download-test-1.patch
Type: text/x-patch
Size: 3708 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140902/df3dcb5f/itw-rt-download-test-1.patch>
More information about the distro-pkg-dev
mailing list