|
14 | 14 | import software.amazon.awssdk.core.ResponseBytes; |
15 | 15 | import software.amazon.awssdk.core.ResponseInputStream; |
16 | 16 | import software.amazon.awssdk.core.sync.RequestBody; |
17 | | -import software.amazon.awssdk.regions.Region; |
18 | 17 | import software.amazon.awssdk.services.s3.S3Client; |
19 | 18 | import software.amazon.awssdk.services.s3.model.CompletedPart; |
20 | 19 | import software.amazon.awssdk.services.s3.model.CreateMultipartUploadResponse; |
|
43 | 42 | import java.util.Map; |
44 | 43 |
|
45 | 44 | import static org.junit.jupiter.api.Assertions.assertEquals; |
46 | | -import static org.junit.jupiter.api.Assertions.assertNotNull; |
47 | 45 | import static org.junit.jupiter.api.Assertions.assertTrue; |
48 | 46 | import static org.junit.jupiter.api.Assertions.fail; |
49 | 47 | import static software.amazon.encryption.s3.S3EncryptionClient.withAdditionalConfiguration; |
50 | 48 | import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.BUCKET; |
51 | 49 | import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.KMS_KEY_ID; |
52 | | -import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.S3_REGION; |
53 | 50 | import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.appendTestSuffix; |
54 | 51 | import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.deleteObject; |
55 | 52 |
|
@@ -313,7 +310,7 @@ public void testPutWithInstructionFileV3ToV2Rsa() throws NoSuchAlgorithmExceptio |
313 | 310 | } |
314 | 311 |
|
315 | 312 | @Test |
316 | | - public void testMultipartPutWithInstructionFile() throws IOException, NoSuchAlgorithmException { |
| 313 | + public void testMultipartPutWithInstructionFile() throws IOException { |
317 | 314 | final String object_key = appendTestSuffix("test-multipart-put-instruction-file"); |
318 | 315 |
|
319 | 316 | final long fileSizeLimit = 1024 * 1024 * 50; //50 MB |
|
0 commit comments