Skip to content

Commit

Permalink
fix: context ignore test cases and remove unnecessary tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jimf5 committed Aug 16, 2023
1 parent 6719c7b commit 070beef
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 836 deletions.
3 changes: 2 additions & 1 deletion tests/h2_otel.t
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@ is($tp_headers_extract->{'x-otel-tracestate'},
'tracestate - trace context extract (trace headers)');

#trace context: inject
isnt($t_headers_inject->{'x-otel-traceparent'}, undef,
is($t_headers_inject->{'x-otel-traceparent'},
"00-$$spans{span6}{trace_id}-$$spans{span6}{span_id}-01",
'traceparent - trace context inject (no trace headers)');
is($t_headers_inject->{'x-otel-tracestate'}, undef,
'no tracestate - trace context inject (no trace headers)');
Expand Down
Loading

0 comments on commit 070beef

Please sign in to comment.