Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
db48e835
"lib/engines/vscode:/vscode.git/clone" did not exist on "5d89a0c858b65599922a89967d415ff9010a76f4"
Commit
db48e835
authored
Feb 03, 2025
by
Tanmay Verma
Committed by
GitHub
Feb 03, 2025
Browse files
fix: Fix the mock disaggregated serving test (#87)
parent
b34c6f77
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
runtime/tests/python/conftest.py
runtime/tests/python/conftest.py
+7
-4
runtime/tests/python/integration/test_mock_disaggregated_serving.py
...sts/python/integration/test_mock_disaggregated_serving.py
+0
-1
No files found.
runtime/tests/python/conftest.py
View file @
db48e835
...
...
@@ -18,6 +18,7 @@ import logging
import
os
import
subprocess
import
time
from
pathlib
import
Path
import
pytest
import
pytest_asyncio
...
...
@@ -28,9 +29,7 @@ logger = logging.getLogger(__name__)
NATS_PORT
=
4223
TEST_API_SERVER_MODEL_REPO_PATH
=
(
"/workspace/worker/tests/python/integration/api_server/models"
)
TEST_API_SERVER_MODEL_REPO_PATH
=
"integration/api_server/models"
def
pytest_addoption
(
parser
):
...
...
@@ -64,7 +63,11 @@ def nats_server(log_dir):
@
pytest
.
fixture
(
scope
=
"session"
)
def
api_server
(
log_dir
):
command
=
[
"tritonserver"
,
"--model-store"
,
str
(
TEST_API_SERVER_MODEL_REPO_PATH
)]
command
=
[
"tritonserver"
,
"--model-store"
,
str
(
Path
(
__file__
).
parent
.
resolve
()
/
TEST_API_SERVER_MODEL_REPO_PATH
),
]
api_server_log_dir
=
log_dir
/
"api_server"
os
.
makedirs
(
api_server_log_dir
,
exist_ok
=
True
)
with
open
(
api_server_log_dir
/
"api_server.stdout.log"
,
"wt"
)
as
output_
:
...
...
runtime/tests/python/integration/test_mock_disaggregated_serving.py
View file @
db48e835
...
...
@@ -284,7 +284,6 @@ def run_kserve(num_requests):
"(not os.path.exists('/usr/local/bin/nats-server'))"
,
reason
=
"NATS.io not present"
,
)
@
pytest
.
mark
.
xfail
def
test_mock_disaggregated_serving_kserve
(
request
,
nats_server
,
workers
,
api_server
):
# Using a separate process to use data plane across multiple tests.
p
=
Process
(
target
=
run_kserve
,
args
=
(
1
,))
...
...
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