Skip to content

Commit

Permalink
Add test again
Browse files Browse the repository at this point in the history
  • Loading branch information
constanca-m committed Jan 9, 2025
1 parent 0cdfcbe commit 1d0432c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions receiver/awsfirehosereceiver/receiver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@ func TestFirehoseRequest(t *testing.T) {
wantStatusCode: http.StatusInternalServerError,
wantErr: firehoseConsumerErr,
},
"WithCorruptBase64Records": {
body: testFirehoseRequest(testFirehoseRequestID, []firehoseRecord{
{Data: "XXXXXaGVsbG8="},
}),
wantStatusCode: http.StatusOK, // having an invalid record does not stop the request
},
"WithValidRecords": {
body: testFirehoseRequest(testFirehoseRequestID, []firehoseRecord{
testFirehoseRecord("test"),
Expand Down

0 comments on commit 1d0432c

Please sign in to comment.