mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
test(otel): assert websocket forwarded header reaches upstream
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
838899862f
commit
c8846c6d5d
1 changed files with 1 additions and 0 deletions
|
|
@ -4938,6 +4938,7 @@ async def test_websocket_passthrough_propagates_active_trace_context(monkeypatch
|
|||
|
||||
propagated = get_current_span(TraceContextTextMapPropagator().extract(captured["headers"]))
|
||||
assert propagated.get_span_context().trace_id == span.get_span_context().trace_id
|
||||
assert captured["headers"]["authorization"] == "Bearer client"
|
||||
|
||||
|
||||
class ClosingUpstreamWebSocket:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue