File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
instrumentation/opentelemetry-instrumentation-flask/tests Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -687,22 +687,6 @@ def test_repeat_custom_request_header_added_in_server_span(self):
687
687
self .assertEqual (span .kind , trace .SpanKind .SERVER )
688
688
self .assertSpanHasAttributes (span , expected )
689
689
690
- def test_repeat_similar_custom_request_header_added_in_server_span (self ):
691
- headers = [
692
- ("Custom-Test-Header-1" , "Test Value 1" ),
693
- ("Custom-Test-Header_1" , "Test Value 2" ),
694
- ]
695
- resp = self .client .get ("/hello/123" , headers = headers )
696
- self .assertEqual (200 , resp .status_code )
697
- span = self .memory_exporter .get_finished_spans ()[0 ]
698
- expected = {
699
- "http.request.header.custom_test_header_1" : (
700
- "Test Value 1, Test Value 2" ,
701
- ),
702
- }
703
- self .assertEqual (span .kind , trace .SpanKind .SERVER )
704
- self .assertSpanHasAttributes (span , expected )
705
-
706
690
def test_custom_request_header_not_added_in_internal_span (self ):
707
691
tracer = trace .get_tracer (__name__ )
708
692
with tracer .start_as_current_span ("test" , kind = trace .SpanKind .SERVER ):
You can’t perform that action at this time.
0 commit comments