Skip to content

Commit c319d44

Browse files
author
Anirav Kareddy
committed
testMultipartPutWithInstructionFile() should be working now
1 parent 02f6f48 commit c319d44

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/test/java/software/amazon/encryption/s3/S3EncryptionClientInstructionFileTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import software.amazon.awssdk.core.ResponseBytes;
1515
import software.amazon.awssdk.core.ResponseInputStream;
1616
import software.amazon.awssdk.core.sync.RequestBody;
17-
import software.amazon.awssdk.regions.Region;
1817
import software.amazon.awssdk.services.s3.S3Client;
1918
import software.amazon.awssdk.services.s3.model.CompletedPart;
2019
import software.amazon.awssdk.services.s3.model.CreateMultipartUploadResponse;
@@ -43,13 +42,11 @@
4342
import java.util.Map;
4443

4544
import static org.junit.jupiter.api.Assertions.assertEquals;
46-
import static org.junit.jupiter.api.Assertions.assertNotNull;
4745
import static org.junit.jupiter.api.Assertions.assertTrue;
4846
import static org.junit.jupiter.api.Assertions.fail;
4947
import static software.amazon.encryption.s3.S3EncryptionClient.withAdditionalConfiguration;
5048
import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.BUCKET;
5149
import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.KMS_KEY_ID;
52-
import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.S3_REGION;
5350
import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.appendTestSuffix;
5451
import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.deleteObject;
5552

@@ -313,7 +310,7 @@ public void testPutWithInstructionFileV3ToV2Rsa() throws NoSuchAlgorithmExceptio
313310
}
314311

315312
@Test
316-
public void testMultipartPutWithInstructionFile() throws IOException, NoSuchAlgorithmException {
313+
public void testMultipartPutWithInstructionFile() throws IOException {
317314
final String object_key = appendTestSuffix("test-multipart-put-instruction-file");
318315

319316
final long fileSizeLimit = 1024 * 1024 * 50; //50 MB

0 commit comments

Comments
 (0)