Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS: Update S3FileIO test to run when CLIENT_FACTORY is not set #9541

Merged
merged 2 commits into from
Jan 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,12 @@ public void testS3FileIOWithS3FileIOAwsClientFactoryImpl() throws Exception {
}

@Test
public void testS3FileIOWithDefaultAwsClientFactoryImpl() throws Exception {
public void testS3FileIOWithAwsClientFactoryImpl() throws Exception {
alok123t marked this conversation as resolved.
Show resolved Hide resolved
s3.putObject(
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