You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have issues getting my s3 event to run in my tests. I've captured this event from an actual file uploaded to my bucket.
Using the event from #187 is working for me - I get 1 record out of it.
Why is my event no working?
@ParameterizedTest
@Event(value = "test_s3_event.json", type = S3Event.class)
public void testHandleRequest(S3Event s3Event) throws Exception {
log.info("records: {}", String.valueOf(s3Event.getRecords().size()));
...
I just faced this issue myself. The problem is not a bug in your code, but that the request data does not match the API. records is required to be capitalized:
I have issues getting my s3 event to run in my tests. I've captured this event from an actual file uploaded to my bucket.
Using the event from #187 is working for me - I get 1 record out of it.
Why is my event no working?
The text was updated successfully, but these errors were encountered: