Skip to content

Commit

Permalink
fix invalid otlp request body test (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeGoldsmith authored Jul 26, 2022
1 parent ed4b62d commit dd991d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otlp/traces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ func TestInvalidContentTypeReturnsError(t *testing.T) {
}

func TestInvalidBodyReturnsError(t *testing.T) {
bodyBytes := test.RandomBytes(10)
bodyBytes := []byte{0x00, 0x01, 0x02, 0x03, 0x04}
body := io.NopCloser(bytes.NewReader(bodyBytes))
ri := RequestInfo{
ApiKey: "apikey",
Expand Down

0 comments on commit dd991d6

Please sign in to comment.