Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/794#discussion_r39081547 --- Diff: core/src/com/cloud/storage/template/LocalTemplateDownloader.java --- @@ -159,16 +159,4 @@ public long download(boolean resume, DownloadCompleteCallback callback) { } } } --- End diff -- how about a unit test doing String url = "file:///home/ahuang/Download/E3921_P5N7A-VM_manual.zip"; TemplateDownloader td = new LocalTemplateDownloader(null, url, "/tmp/mysql", TemplateDownloader.DEFAULT_MAX_TEMPLATE_SIZE_IN_BYTES, null); long bytes = td.download(true, null); assertTrue("download failed", bytes > 0); ?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---