mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-20 00:11:50 +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
e4a12510f6
commit
68cc12e848
1 changed files with 1 additions and 0 deletions
|
|
@ -4966,6 +4966,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