diff --git a/pom.xml b/pom.xml index e8cba96894c..ec9035518a3 100644 --- a/pom.xml +++ b/pom.xml @@ -92,7 +92,7 @@ ch.iterate.s3 jets3t - 0.9.19 + 0.9.20 org.apache.httpcomponents diff --git a/s3/src/test/java/ch/cyberduck/core/s3/S3MultipartUploadServiceTest.java b/s3/src/test/java/ch/cyberduck/core/s3/S3MultipartUploadServiceTest.java index e879fcc753e..92bd94f4485 100644 --- a/s3/src/test/java/ch/cyberduck/core/s3/S3MultipartUploadServiceTest.java +++ b/s3/src/test/java/ch/cyberduck/core/s3/S3MultipartUploadServiceTest.java @@ -41,7 +41,7 @@ public class S3MultipartUploadServiceTest extends AbstractS3Test { public void testUploadSinglePart() throws Exception { final S3MultipartUploadService service = new S3MultipartUploadService(session, new S3WriteFeature(session, new S3DisabledMultipartService()), 5 * 1024L, 2); final Path container = new Path("test-us-east-1-cyberduck", EnumSet.of(Path.Type.directory, Path.Type.volume)); - final String name = UUID.randomUUID().toString() + ".txt"; + final String name = String.format(" %s.txt", UUID.randomUUID().toString()); final Path test = new Path(container, name, EnumSet.of(Path.Type.file)); final Local local = new Local(System.getProperty("java.io.tmpdir"), name); final String random = new RandomStringGenerator.Builder().build().generate(1000);