Skip to content

Commit

Permalink
AWS: S3FileIOIntegration fix prefix list test (apache#5383)
Browse files Browse the repository at this point in the history
  • Loading branch information
amogh-jahagirdar authored Jul 29, 2022
1 parent 3d00780 commit 6514d73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public void testPrefixList() {
String listPrefix = String.format("s3://%s/%s", bucketName, "prefix-list-test");

scaleSizes.parallelStream().forEach(scale -> {
String scalePrefix = String.format("%s/%s/", prefix, scale);
String scalePrefix = String.format("%s/%s/", listPrefix, scale);
createRandomObjects(scalePrefix, scale);
assertEquals((long) scale, Streams.stream(s3FileIO.listPrefix(scalePrefix)).count());
});
Expand Down

0 comments on commit 6514d73

Please sign in to comment.