Skip to content

Commit 5a1a262

Browse files
committed
wip: fix test
1 parent 62d4976 commit 5a1a262

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/unit/sdk/logs/exporters/otlp_log_exporter_test.dart

+4
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ void main() {
119119
spanId: parent.spanContext.spanId.get(),
120120
body: pb_common.AnyValue(stringValue: 'test log'),
121121
observedTimeUnixNano: Int64(123),
122+
droppedAttributesCount: 0,
122123
),
123124
pb_logs.LogRecord(
124125
timeUnixNano: Int64(123),
@@ -151,6 +152,7 @@ void main() {
151152
spanId: parent.spanContext.spanId.get(),
152153
body: pb_common.AnyValue(intValue: Int64(2)),
153154
observedTimeUnixNano: Int64(123),
155+
droppedAttributesCount: 0,
154156
),
155157
pb_logs.LogRecord(
156158
timeUnixNano: Int64(123),
@@ -160,6 +162,7 @@ void main() {
160162
spanId: parent.spanContext.spanId.get(),
161163
body: pb_common.AnyValue(doubleValue: 2.2),
162164
observedTimeUnixNano: Int64(123),
165+
droppedAttributesCount: 0,
163166
),
164167
pb_logs.LogRecord(
165168
timeUnixNano: Int64(123),
@@ -169,6 +172,7 @@ void main() {
169172
spanId: parent.spanContext.spanId.get(),
170173
body: pb_common.AnyValue(boolValue: true),
171174
observedTimeUnixNano: Int64(123),
175+
droppedAttributesCount: 0,
172176
),
173177
],
174178
scope: pb_common.InstrumentationScope(name: 'library_name', version: 'library_version'),

0 commit comments

Comments
 (0)