Merge pull request #42296 from BerriAI/litellm_ci_smoke_test_master_key

fix(ci): let the install smoke test boot its key-less proxy config
This commit is contained in:
Mateo Wang 2026-09-21 13:16:44 -07:00 • committed by GitHub
commit 13c604c124
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)