mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
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:
commit
13c604c124
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