File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -662,8 +662,12 @@ def lambda_handler(evt, context):
662662 # and that application metrics dimensions are not part of ColdStart EMF blob
663663 assert "test_dimension" not in cold_start_blob
664664
665- # THEN application metrics EMF blob should not have function_name dimension
665+ # THEN application metrics EMF blob should not have
666+ # ColdStart metric nor function_name dimension
666667 assert "function_name" not in custom_metrics_blob
668+ assert "ColdStart" not in custom_metrics_blob
669+
670+ # and that application metrics are recorded as normal
667671 assert custom_metrics_blob ["service" ] == service
668672 assert custom_metrics_blob ["single_metric" ] == metric ["value" ]
669673 assert custom_metrics_blob ["test_dimension" ] == dimension ["value" ]
You can’t perform that action at this time.
0 commit comments