Skip to content

Commit 1bcc04f

Browse files
committed
Fix flaky maxConcurrency test check
1 parent 1e4a90e commit 1bcc04f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ void uploadDirectory_customMaxConcurrency_shouldLimitConcurrentOperations() thro
561561
assertThat(observedPeak)
562562
.as("Implementation allowed %d concurrent operations but was configured for %d",
563563
observedPeak, configuredMaxConcurrency)
564-
.isEqualTo(configuredMaxConcurrency);
564+
.isLessThanOrEqualTo(configuredMaxConcurrency);
565565

566566
// Release the phase to let operations complete
567567
phaser.arriveAndDeregister();

0 commit comments

Comments
 (0)