Skip to content

Commit 76d3287

Browse files
Remove redundant join from unit test (#2807)
We already join on this future on line 185. This second join is redundant and will result in an exception being thrown.
1 parent b47d247 commit 76d3287

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

services-custom/s3-transfer-manager/src/test/java/software/amazon/awssdk/transfer/s3/internal/S3TransferManagerListenerTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ public void upload_failure_shouldInvokeListener() throws Exception {
204204
assertThat(ctx2.progressSnapshot().bytesTransferred()).isZero();
205205
assertThat(ctx2.exception()).isInstanceOf(NoSuchFileException.class);
206206

207-
upload.completionFuture().join();
208207
verifyNoMoreInteractions(listener);
209208
}
210209

0 commit comments

Comments
 (0)