Skip to content

Commit 415631a

Browse files
committed
Revert "Merge pull request #884 from wido/test-tmp-dir"
This reverts commit 6841ba6, reversing changes made to 13b29ba. 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
1 parent 6841ba6 commit 415631a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/test/com/cloud/storage/template/LocalTemplateDownloaderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class LocalTemplateDownloaderTest {
3131
@Test
3232
public void localTemplateDownloaderTest() {
3333
String url = "file://" + new File("pom.xml").getAbsolutePath();
34-
TemplateDownloader td = new LocalTemplateDownloader(null, url, System.getProperty("java.io.tmpdir"), TemplateDownloader.DEFAULT_MAX_TEMPLATE_SIZE_IN_BYTES, null);
34+
TemplateDownloader td = new LocalTemplateDownloader(null, url, "/tmp", TemplateDownloader.DEFAULT_MAX_TEMPLATE_SIZE_IN_BYTES, null);
3535
long bytes = td.download(true, null);
3636
if (!(bytes > 0)) {
3737
fail("Failed download");

0 commit comments

Comments
 (0)