Skip to content

Commit 2317aab

Browse files
committed
minor cleanup
1 parent 6945221 commit 2317aab

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,9 @@
137137
<dependency>
138138
<groupId>software.amazon.awssdk</groupId>
139139
<artifactId>s3-transfer-manager</artifactId>
140-
<optional>true</optional>
141140
<version>2.28.28</version>
141+
<optional>true</optional>
142+
<scope>test</scope>
142143
</dependency>
143144

144145
<dependency>

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ public void transferManagerUploadStream() throws IOException {
193193

194194
final long fileSizeLimit = 1024 * 1024 * 100;
195195
final InputStream inputStream = new BoundedInputStream(fileSizeLimit);
196-
final InputStream objectStreamForResult = new BoundedInputStream(fileSizeLimit);
197196
final InputStream objectStreamForResultTm = new BoundedInputStream(fileSizeLimit);
198197

199198
S3AsyncClient v3AsyncClient = S3AsyncEncryptionClient.builder()
@@ -241,12 +240,9 @@ public void transferManagerUploadStreamCrt() throws ExecutionException, Interrup
241240

242241
final long fileSizeLimit = 1024 * 1024 * 100;
243242
final InputStream inputStream = new BoundedInputStream(fileSizeLimit);
244-
final InputStream objectStreamForResult = new BoundedInputStream(fileSizeLimit);
245243
final InputStream objectStreamForResultTm = new BoundedInputStream(fileSizeLimit);
246244

247245
S3AsyncClient wrappedCrt = S3AsyncClient.crtBuilder()
248-
.minimumPartSizeInBytes(8000000L)
249-
.thresholdInBytes(500L)
250246
.build();
251247
S3AsyncClient v3AsyncClient = S3AsyncEncryptionClient.builder()
252248
.wrappedClient(wrappedCrt)

0 commit comments

Comments
 (0)