mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Revert "Merge pull request #884 from wido/test-tmp-dir"
This reverts commit 6841ba61da5e407f7a16c4a575d1a4e8c8345970, reversing changes made to 13b29bac5a1778e295df7e9fb21c502fcf017183. Master is currently frozen, no merges without RM approval. http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201509.mbox/browser It also broke the build: [INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [3.448s] [INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [2.528s] [INFO] Apache CloudStack Server .......................... FAILURE [24.769s] [INFO] Apache CloudStack Usage Server .................... SKIPPED
This commit is contained in:
parent
6841ba61da
commit
415631ab58
@ -31,7 +31,7 @@ public class LocalTemplateDownloaderTest {
|
||||
@Test
|
||||
public void localTemplateDownloaderTest() {
|
||||
String url = "file://" + new File("pom.xml").getAbsolutePath();
|
||||
TemplateDownloader td = new LocalTemplateDownloader(null, url, System.getProperty("java.io.tmpdir"), TemplateDownloader.DEFAULT_MAX_TEMPLATE_SIZE_IN_BYTES, null);
|
||||
TemplateDownloader td = new LocalTemplateDownloader(null, url, "/tmp", TemplateDownloader.DEFAULT_MAX_TEMPLATE_SIZE_IN_BYTES, null);
|
||||
long bytes = td.download(true, null);
|
||||
if (!(bytes > 0)) {
|
||||
fail("Failed download");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user