File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
src/test/java/software/amazon/encryption/s3 Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,10 @@ public void ordinaryInputStreamV3UnboundedAsync() {
154154
155155 @ Test
156156 public void ordinaryInputStreamV3UnboundedMultipartAsync () {
157- try (S3AsyncClient s3AsyncEncryptionClient = S3AsyncEncryptionClient .builder ().aesKey (AES_KEY ).enableMultipartPutObject (true ).wrappedClient (s3AsyncClient ).build ()) {
157+ try (S3AsyncClient s3AsyncEncryptionClient = S3AsyncEncryptionClient .builder ()
158+ .aesKey (AES_KEY )
159+ .enableMultipartPutObject (true )
160+ .build ()) {
158161 final String objectKey = appendTestSuffix ("ordinaryInputStreamV3UnboundedAsync" );
159162 BlockingInputStreamAsyncRequestBody body =
160163 AsyncRequestBody .forBlockingInputStream (null );
@@ -171,7 +174,11 @@ public void ordinaryInputStreamV3UnboundedMultipartAsync() {
171174 @ Test
172175 public void ordinaryInputStreamV3UnboundedCrt () {
173176 try (S3AsyncClient s3CrtAsyncClient = S3AsyncClient .crtCreate ()) {
174- try (S3AsyncClient s3AsyncEncryptionClient = S3AsyncEncryptionClient .builder ().aesKey (AES_KEY ).enableMultipartPutObject (true ).wrappedClient (s3CrtAsyncClient ).build ()) {
177+ try (S3AsyncClient s3AsyncEncryptionClient = S3AsyncEncryptionClient .builder ()
178+ .aesKey (AES_KEY )
179+ .enableMultipartPutObject (true )
180+ .wrappedClient (s3CrtAsyncClient )
181+ .build ()) {
175182 final String objectKey = appendTestSuffix ("ordinaryInputStreamV3UnboundedCrt" );
176183 BlockingInputStreamAsyncRequestBody body =
177184 AsyncRequestBody .forBlockingInputStream (null );
You can’t perform that action at this time.
0 commit comments