Skip to content

Commit

Permalink
AWS: Update S3FileIO test to run when CLIENT_FACTORY is not set (#9541)
Browse files Browse the repository at this point in the history
  • Loading branch information
alok123t authored and geruh committed Jan 25, 2024
1 parent 8b2895f commit e3ee41a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,7 @@ public void testS3FileIOWithDefaultAwsClientFactoryImpl() throws Exception {
PutObjectRequest.builder().bucket(bucketName).key(objectKey).build(),
RequestBody.fromBytes(contentBytes));
S3FileIO s3FileIO = new S3FileIO();
Map<String, String> properties = Maps.newHashMap();
properties.put(
S3FileIOProperties.CLIENT_FACTORY,
"org.apache.iceberg.aws.s3.DefaultS3FileIOAwsClientFactory");
s3FileIO.initialize(properties);
s3FileIO.initialize(Maps.newHashMap());
validateRead(s3FileIO);
}

Expand Down

0 comments on commit e3ee41a

Please sign in to comment.