Skip to content

Commit

Permalink
Fix name of s3Bucket field of Task class in S3BatchEventV2
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerfort committed Aug 9, 2024
1 parent 7206b7f commit 2761b3a
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 2761b3a

Please sign in to comment.