Skip to content

Commit e1b9993

Browse files
committed
Check for <= instead of just =
1 parent f3f1b4a commit e1b9993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services-custom/s3-transfer-manager/src/it/java/software/amazon/awssdk/transfer/s3/S3TransferManagerDownloadPauseResumeIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void pauseAndResume_ObjectNotChanged_shouldResumeDownload(S3TransferManager tm)
152152
assertThat(resumableFileDownload.s3ObjectLastModified()).hasValue(testDownloadListener.getObjectResponse.lastModified());
153153
assertThat(bytesTransferred).isEqualTo(path.toFile().length());
154154
assertThat(resumableFileDownload.totalSizeInBytes()).hasValue(sourceFile.length());
155-
assertThat(bytesTransferred).isLessThan(sourceFile.length());
155+
assertThat(bytesTransferred).isLessThanOrEqualTo(sourceFile.length());
156156
assertThat(download.completionFuture()).isCancelled();
157157

158158
log.debug(() -> "Resuming download ");

0 commit comments

Comments
 (0)