Skip to content

Commit

Permalink
Removed distributed mlserver test run.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertSamoilescu committed Jun 4, 2024
1 parent 4844ca8 commit b015908
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions tests/cli/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,11 @@ def test_generate_dockerfile(base_image: Optional[str]):
assert dockerfile == DockerfileTemplate.format(base_image=expected)


@pytest.mark.xdist_group("group1")
def test_build(docker_client: DockerClient, custom_image: str):
image = docker_client.images.get(custom_image)
assert image.tags == [custom_image]


@pytest.mark.xdist_group("group1")
async def test_infer_custom_runtime(
custom_runtime_server: Tuple[str, str],
inference_request: InferenceRequest,
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ commands =
commands_pre =
poetry install --sync --no-root
commands =
python -m pytest {posargs} -n auto --dist loadgroup \
{toxinidir}/tests
python -m pytest {posargs} {toxinidir}/tests
set_env =
GITHUB_SERVER_URL = {env:GITHUB_SERVER_URL:https\://github.com}
GITHUB_REPOSITORY = {env:GITHUB_REPOSITORY:SeldonIO/MLServer}
Expand Down

0 comments on commit b015908

Please sign in to comment.