Skip to content

Commit 4ca4db8

Browse files
committed
Update otlp common test
1 parent d7f58f0 commit 4ca4db8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exporter/opentelemetry-exporter-otlp-proto-common/tests/test_log_encoder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,13 +315,13 @@ def _get_sdk_log_data() -> List[ReadWriteLogRecord]:
315315
)
316316
)
317317
)
318-
log9 = LogData(
319-
log_record=SDKLogRecord(
318+
log9 = ReadWriteLogRecord(
319+
LogRecord(
320320
# these are otherwise set by default
321321
observed_timestamp=1644650584292683045,
322322
context=ctx_log9,
323-
resource=SDKResource({}),
324323
),
324+
resource=SDKResource({}),
325325
instrumentation_scope=InstrumentationScope(
326326
"empty_log_record_name", "empty_log_record_version"
327327
),

0 commit comments

Comments
 (0)