mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
fix(ci): let the install smoke test boot its key-less proxy config
The install smoke test starts the proxy on test_config_no_auth.yaml, which has no master key on purpose, and #42019's boot check now refuses that, so the three installing_litellm_on_python jobs have been red on main since 2026-09-20. Pass the documented local-dev override to the proxy child so the test keeps its no-auth config and the boot check stays as it is
This commit is contained in:
parent
9a90adad32
commit
a8745f24a2
1 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import os
|
|||
import subprocess
|
||||
import time
|
||||
import traceback
|
||||
from typing import Final
|
||||
|
||||
import pytest
|
||||
|
||||
|
|
@ -253,6 +254,7 @@ def _run_proxy_server_smoke_test(extra_proxy_args=None):
|
|||
raise
|
||||
filepath = os.path.dirname(os.path.abspath(__file__))
|
||||
config_fp = f"{filepath}/test_configs/test_config_no_auth.yaml"
|
||||
proxy_env: Final = {**os.environ, "LITELLM_DANGEROUSLY_PERMIT_WEAK_OR_UNSET_MASTER_KEY": "true"}
|
||||
server_process = subprocess.Popen(
|
||||
[
|
||||
"uv",
|
||||
|
|
@ -266,6 +268,7 @@ def _run_proxy_server_smoke_test(extra_proxy_args=None):
|
|||
*extra_proxy_args,
|
||||
],
|
||||
cwd=PROJECT_ROOT,
|
||||
env=proxy_env,
|
||||
)
|
||||
|
||||
# Allow some time for the server to start (increased for CI environments)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue