You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/07/19 00:23:18 UTC
[GitHub] [iceberg] amogh-jahagirdar commented on a diff in pull request #5289: AWS: Fix TestS3FileIO prefixDelete test. Fix setup of S3 batch deletion tests
amogh-jahagirdar commented on code in PR #5289:
URL: https://github.com/apache/iceberg/pull/5289#discussion_r923958262
##########
aws/src/test/java/org/apache/iceberg/aws/s3/TestS3FileIO.java:
##########
@@ -218,8 +219,7 @@ public void testPrefixList() {
public void testPrefixDelete() {
String prefix = "s3://bucket/path/to/delete";
List<Integer> scaleSizes = Lists.newArrayList(0, 5, 1000, 2500);
-
- scaleSizes.parallelStream().forEach(scale -> {
+ scaleSizes.forEach(scale -> {
Review Comment:
Yeah it makes sense to parallelize because S3 mock still takes a lot of time in the high scale case. The unit tests are run concurrently, so I think we're good there.
Since the issue seems to lie with S3 mock, I think to truly validate this behavior it makes sense to have integ tests which validate against S3 but for now I think it makes sense to just address in the unit tests. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org