mirror of https://github.com/apache/cloudstack.git
Revert "Merge pull request #884 from wido/test-tmp-dir"
This reverts commit6841ba61da, reversing changes made to13b29bac5a. 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…
Reference in New Issue