From 31601c6bed4cf2b4b6019fa7c2c4765b582b540d Mon Sep 17 00:00:00 2001 From: hdavidh Date: Mon, 10 Jun 2024 09:58:39 -0700 Subject: [PATCH] Add back deleted test --- .../amazon/awssdk/services/s3/PutObjectIntegrationTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/services/s3/src/it/java/software/amazon/awssdk/services/s3/PutObjectIntegrationTest.java b/services/s3/src/it/java/software/amazon/awssdk/services/s3/PutObjectIntegrationTest.java index 4b2efc7b093b..720589078ecb 100644 --- a/services/s3/src/it/java/software/amazon/awssdk/services/s3/PutObjectIntegrationTest.java +++ b/services/s3/src/it/java/software/amazon/awssdk/services/s3/PutObjectIntegrationTest.java @@ -32,15 +32,19 @@ import java.util.ArrayList; import java.util.Base64; import java.util.List; +import java.util.concurrent.CompletableFuture; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; +import software.amazon.awssdk.core.async.BlockingInputStreamAsyncRequestBody; import software.amazon.awssdk.core.interceptor.Context; import software.amazon.awssdk.core.interceptor.ExecutionAttributes; import software.amazon.awssdk.core.interceptor.ExecutionInterceptor; import software.amazon.awssdk.core.sync.RequestBody; import software.amazon.awssdk.http.ContentStreamProvider; +import software.amazon.awssdk.services.s3.model.HeadObjectResponse; import software.amazon.awssdk.services.s3.model.PutObjectRequest; +import software.amazon.awssdk.services.s3.model.PutObjectResponse; /** * Integration tests for {@code PutObject}. @@ -49,7 +53,7 @@ public class PutObjectIntegrationTest extends S3IntegrationTestBase { private static final String BUCKET = temporaryBucketName(PutObjectIntegrationTest.class); private static final String ASYNC_KEY = "async-key"; private static final String SYNC_KEY = "sync-key"; - + private static final String TEXT_CONTENT_TYPE = "text/plain"; private static final byte[] CONTENT = "Hello".getBytes(StandardCharsets.UTF_8); @BeforeClass