Skip to content

Commit b42fbb4

Browse files
Bennett-LynchBennett Lynch
authored and
Bennett Lynch
committed
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 2af85b2 commit b42fbb4

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

-1
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)