Skip to content

Commit d258305

Browse files
committed
fix failing test
1 parent a570b0e commit d258305

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

collector/receiver/telemetryapireceiver/receiver_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,8 +1224,8 @@ func TestCreatePlatformMessage(t *testing.T) {
12241224
functionVersion: "",
12251225
eventType: "platform.logsDropped",
12261226
record: map[string]interface{}{
1227-
"droppedRecords": int64(10),
1228-
"droppedBytes": int64(1024),
1227+
"droppedRecords": float64(10),
1228+
"droppedBytes": float64(1024),
12291229
"reason": "Consumer is too slow",
12301230
},
12311231
expected: "LOGS_DROPPED DroppedRecords: 10 DroppedBytes: 1024 Reason: Consumer is too slow",

0 commit comments

Comments
 (0)