diff --git a/pom.xml b/pom.xml index 002e4a6..83b5c7c 100644 --- a/pom.xml +++ b/pom.xml @@ -60,12 +60,12 @@ org.gcube.contentmanagement storage-manager-core - [2.0.0, 3.0.0) + [2.0.0, 3.0.0-SNAPSHOT) org.gcube.contentmanagement storage-manager-wrapper - [2.0.0, 3.0.0) + [2.0.0, 3.0.0-SNAPSHOT) diff --git a/src/test/java/org/gcube/data/transfer/library/TransfererTest.java b/src/test/java/org/gcube/data/transfer/library/TransfererTest.java index 4527bc1..dd772ba 100644 --- a/src/test/java/org/gcube/data/transfer/library/TransfererTest.java +++ b/src/test/java/org/gcube/data/transfer/library/TransfererTest.java @@ -1,5 +1,7 @@ package org.gcube.data.transfer.library; +import static org.junit.Assert.assertTrue; + import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; @@ -32,9 +34,12 @@ import org.junit.Test; public class TransfererTest { - static String hostname="https://geoserver1.dev.d4science.org"; +// static String hostname="https://thredds.dev.d4science.org"; +// static String scope="/gcube/devsec/devVRE"; + static String hostname="https://thredds-pre-d4s.d4science.org"; + static String scope="/pred4s/preprod/preVRE"; + // static String nodeId="462b68c5-463f-4295-86da-37d6c0abc7ea"; - static String scope="/gcube/devNext/NextNext"; static DataTransferClient client; @@ -53,6 +58,7 @@ public class TransfererTest { Path file=Files.createTempFile("test", ".jar"); Files.copy(in, file, StandardCopyOption.REPLACE_EXISTING); tempFile=file.toFile(); + assertTrue(tempFile.getTotalSpace()>0); } @Test