Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
492196ed
Unverified
Commit
492196ed
authored
Sep 10, 2025
by
Ye (Charlotte) Qi
Committed by
GitHub
Sep 10, 2025
Browse files
[CI/Build] split true unit tests to Entrypoints Unit Tests (#24418)
Signed-off-by:
Ye (Charlotte) Qi
<
yeq@meta.com
>
parent
f4f1a8df
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
.buildkite/test-pipeline.yaml
.buildkite/test-pipeline.yaml
+16
-5
tests/entrypoints/test_api_server_process_manager.py
tests/entrypoints/test_api_server_process_manager.py
+1
-1
No files found.
.buildkite/test-pipeline.yaml
View file @
492196ed
...
...
@@ -102,7 +102,18 @@ steps:
commands
:
-
pytest -v -s core
-
label
:
Entrypoints Test (LLM)
# 30min
-
label
:
Entrypoints Unit Tests
# 5min
timeout_in_minutes
:
10
working_dir
:
"
/vllm-workspace/tests"
fast_check
:
true
source_file_dependencies
:
-
vllm/entrypoints
-
tests/entrypoints/
commands
:
-
pytest -v -s entrypoints/openai/tool_parsers
-
pytest -v -s entrypoints/ --ignore=entrypoints/llm --ignore=entrypoints/openai --ignore=entrypoints/offline_mode --ignore=entrypoints/test_chat_utils.py
-
label
:
Entrypoints Integration Test (LLM)
# 30min
timeout_in_minutes
:
40
mirror_hardwares
:
[
amdexperimental
]
working_dir
:
"
/vllm-workspace/tests"
...
...
@@ -119,7 +130,7 @@ steps:
-
pytest -v -s entrypoints/llm/test_generate.py
# it needs a clean process
-
VLLM_USE_V1=0 pytest -v -s entrypoints/offline_mode
# Needs to avoid interference with other tests
-
label
:
Entrypoints Test (API Server)
# 100min
-
label
:
Entrypoints
Integration
Test (API Server)
# 100min
timeout_in_minutes
:
130
mirror_hardwares
:
[
amdexperimental
]
working_dir
:
"
/vllm-workspace/tests"
...
...
@@ -132,7 +143,7 @@ steps:
commands
:
-
export VLLM_WORKER_MULTIPROC_METHOD=spawn
-
PYTHONPATH=/vllm-workspace pytest -v -s entrypoints/openai/test_collective_rpc.py
# PYTHONPATH is needed to import custom Worker extension
-
pytest -v -s entrypoints/openai --ignore=entrypoints/openai/test_chat_with_tool_reasoning.py --ignore=entrypoints/openai/test_oot_registration.py --ignore=entrypoints/openai/test_tensorizer_entrypoint.py --ignore=entrypoints/openai/correctness/ --ignore=entrypoints/openai/test_collective_rpc.py
-
pytest -v -s entrypoints/openai --ignore=entrypoints/openai/test_chat_with_tool_reasoning.py --ignore=entrypoints/openai/test_oot_registration.py --ignore=entrypoints/openai/test_tensorizer_entrypoint.py --ignore=entrypoints/openai/correctness/ --ignore=entrypoints/openai/test_collective_rpc.py
--ignore=entrypoints/openai/tool_parsers/
-
pytest -v -s entrypoints/test_chat_utils.py
-
label
:
Distributed Tests (4 GPUs)
# 35min
...
...
tests/entrypoints/test_api_server_process_manager.py
View file @
492196ed
...
...
@@ -95,7 +95,7 @@ def test_api_server_process_manager_init(api_server_args, with_stats_update):
assert
not
proc
.
is_alive
()
@
patch
(
"vllm.entrypoints.cli.serve.run_api_server_worker"
,
@
patch
(
"vllm.entrypoints.cli.serve.run_api_server_worker
_proc
"
,
mock_run_api_server_worker
)
def
test_wait_for_completion_or_failure
(
api_server_args
):
"""Test that wait_for_completion_or_failure works with failures."""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment