Skip to content

Commit f75ba18

Browse files
authored
Remove usage of DisplayName API from S3 integ test as S3 no longer sends it (#6305)
* Handle eventual consistency test case to make sure to wait for some time so that item is eventually available * Remove use of s3 owner.displayName() api usage as it was causing Integ test failures
1 parent fd877da commit f75ba18

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

services/s3/src/it/java/software/amazon/awssdk/services/s3/S3ListObjectsV2IntegrationTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ private void assertS3ObjectSummariesAreValid(List<S3Object> objectSummaries,
332332

333333
if (shouldIncludeOwner) {
334334
assertNotNull(obj.owner());
335-
assertTrue(obj.owner().displayName().length() > 1);
336335
assertTrue(obj.owner().id().length() > 1);
337336
}
338337
}

0 commit comments

Comments
 (0)