File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
instrumentation/opentelemetry-instrumentation-botocore/tests Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -228,6 +228,7 @@ def test_get_function(self):
228
228
function_arn = span .attributes .get (AWS_LAMBDA_FUNCTION_ARN )
229
229
self .assertIsNotNone (function_arn )
230
230
self .assertIn ("lambda-function-name-foo" , function_arn )
231
+ self .assertIsNone (span .attributes .get (AWS_LAMBDA_RESOURCE_MAPPING_ID ))
231
232
232
233
@mock_aws
233
234
def test_create_event_source_mapping (self ):
@@ -292,3 +293,5 @@ def test_get_event_source_mapping(self):
292
293
uuid = span .attributes .get (AWS_LAMBDA_RESOURCE_MAPPING_ID )
293
294
self .assertIsNotNone (uuid )
294
295
self .assertEqual (expected_uuid , uuid )
296
+ self .assertIsNone (span .attributes .get (AWS_LAMBDA_FUNCTION_ARN ))
297
+ self .assertIsNone (span .attributes .get (AWS_LAMBDA_FUNCTION_NAME ))
You can’t perform that action at this time.
0 commit comments