Skip to content

Commit 5552580

Browse files
committed
app/vlinsert/opentelemetry: add missing tests for nested attributes containing missing keys and values
This is a follow-up for 05b146b See #869 (comment)
1 parent 05b146b commit 5552580

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/vlinsert/opentelemetry/opentelemetry_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,16 @@ func TestPushProtobufRequest(t *testing.T) {
197197
"value": {
198198
"stringValue": "document_parsing_exception"
199199
}
200+
}, {
201+
"key": "missing-value",
202+
"value": {
203+
"stringValue": ""
204+
}
205+
}, {
206+
"key": "",
207+
"value": {
208+
"stringValue": "missing-key"
209+
}
200210
}, {
201211
"key": "reason",
202212
"value": {

0 commit comments

Comments
 (0)