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
dynamo
Commits
830ed660
Unverified
Commit
830ed660
authored
Oct 30, 2025
by
Kris Hung
Committed by
GitHub
Oct 30, 2025
Browse files
fix: Skip kvbm consolidator test if vllm is not installed (#4007)
parent
e5ae505b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
tests/kvbm/test_consolidator_router_e2e.py
tests/kvbm/test_consolidator_router_e2e.py
+5
-0
No files found.
tests/kvbm/test_consolidator_router_e2e.py
View file @
830ed660
...
...
@@ -13,6 +13,7 @@ This test validates that:
"""
import
concurrent.futures
import
importlib.util
import
logging
import
os
import
re
...
...
@@ -25,12 +26,16 @@ import requests
from
tests.kvbm.common
import
ApiTester
,
check_logs_for_patterns
from
tests.utils.managed_process
import
ManagedProcess
# Check if vLLM is available
HAS_VLLM
=
importlib
.
util
.
find_spec
(
"vllm"
)
is
not
None
# Test markers
pytestmark
=
[
pytest
.
mark
.
kvbm
,
pytest
.
mark
.
e2e
,
pytest
.
mark
.
slow
,
pytest
.
mark
.
gpu_1
,
pytest
.
mark
.
skipif
(
not
HAS_VLLM
,
reason
=
"requires vllm"
),
]
logger
=
logging
.
getLogger
(
__name__
)
...
...
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