mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-01 02:02:20 +00:00
test(otel v2): spawn the otlp sink child interpreter with -P
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
044709e3f3
commit
6fe2f2474a
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ def owned_sinks(directory: Path) -> Iterator[SpanSinks]:
|
|||
with ExitStack() as stack:
|
||||
processes: Final = tuple(
|
||||
subprocess.Popen(
|
||||
[sys.executable, "-m", "integration._support.otlp_sink", "--port", str(port)],
|
||||
[sys.executable, "-P", "-m", "integration._support.otlp_sink", "--port", str(port)],
|
||||
cwd=root,
|
||||
stdout=stack.enter_context((directory / f"otlp-sink-{port}.log").open("w")),
|
||||
stderr=subprocess.STDOUT,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue