Skip to content

Commit cb40936

Browse files
committed
Update test to assert current semantic conventions
open-telemetry/opentelemetry-python-contrib#2372
1 parent 3f3f0a6 commit cb40936

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/src/otel/tests/test_otel.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ def test_active_tracing(self):
227227
self.assertSpanHasAttributes(
228228
span,
229229
{
230-
ResourceAttributes.FAAS_ID: MOCK_LAMBDA_CONTEXT.invoked_function_arn,
231-
SpanAttributes.FAAS_EXECUTION: MOCK_LAMBDA_CONTEXT.aws_request_id,
230+
ResourceAttributes.CLOUD_RESOURCE_ID: MOCK_LAMBDA_CONTEXT.invoked_function_arn,
231+
SpanAttributes.FAAS_INVOCATION_ID: MOCK_LAMBDA_CONTEXT.aws_request_id,
232232
},
233233
)
234234

0 commit comments

Comments
 (0)