Skip to content

Commit

Permalink
Fix name of s3Bucket field of Task class in S3BatchEventV2 (#506)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Merfort <[email protected]>
  • Loading branch information
mmerfort and mmerfort authored Aug 13, 2024
1 parent 7206b7f commit ca565bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ public static class Task {
private String taskId;
private String s3Key;
private String s3VersionId;
private String s3BucketName;
private String s3Bucket;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ public void testS3BatchEventV2() {
assertThat(event.getJob().getUserArguments().get("MyDestinationBucket")).isEqualTo("destination-directory-bucket-name");
assertThat(event.getTasks()).hasSize(1);
assertThat(event.getTasks().get(0).getS3Key()).isEqualTo("s3objectkey");
assertThat(event.getTasks().get(0).getS3Bucket()).isEqualTo("source-directory-bucket-name");
}
}

0 comments on commit ca565bc

Please sign in to comment.