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):
228228 function_arn = span .attributes .get (AWS_LAMBDA_FUNCTION_ARN )
229229 self .assertIsNotNone (function_arn )
230230 self .assertIn ("lambda-function-name-foo" , function_arn )
231+ self .assertIsNone (span .attributes .get (AWS_LAMBDA_RESOURCE_MAPPING_ID ))
231232
232233 @mock_aws
233234 def test_create_event_source_mapping (self ):
@@ -292,3 +293,5 @@ def test_get_event_source_mapping(self):
292293 uuid = span .attributes .get (AWS_LAMBDA_RESOURCE_MAPPING_ID )
293294 self .assertIsNotNone (uuid )
294295 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