Skip to content

Commit f23c2c8

Browse files
authored
test(e2e): remove python gpu smoke test (#1948)
* fix(helm): build chart dependencies before lint Signed-off-by: Evan Lezar <elezar@nvidia.com> * test(e2e): remove python gpu smoke test Remove the Python GPU smoke test and its fixture. The e2e:k3s:gpu task only depended on e2e:python:gpu and did not have a separate k3s implementation, so remove that stale alias with the task it pointed at. Signed-off-by: Evan Lezar <elezar@nvidia.com> (cherry picked from commit 221a103) --------- Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 70fed04 commit f23c2c8

3 files changed

Lines changed: 0 additions & 53 deletions

File tree

e2e/python/conftest.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import pytest
1212

1313
from openshell import InferenceRouteClient, Sandbox, SandboxClient
14-
from openshell._proto import datamodel_pb2
1514

1615
if TYPE_CHECKING:
1716
from collections.abc import Callable, Iterator
@@ -92,15 +91,3 @@ def _run(sandbox: Sandbox, code: str) -> tuple[int, str, str]:
9291
return result.exit_code, result.stdout, result.stderr
9392

9493
return _run
95-
96-
97-
@pytest.fixture(scope="session")
98-
def gpu_sandbox_spec() -> datamodel_pb2.SandboxSpec:
99-
# Empty string defers image resolution to the server, which substitutes
100-
# the configured default sandbox image. Set OPENSHELL_E2E_GPU_IMAGE to
101-
# override (e.g. a locally-built or registry-mirrored image).
102-
image = os.environ.get("OPENSHELL_E2E_GPU_IMAGE", "")
103-
return datamodel_pb2.SandboxSpec(
104-
gpu=True,
105-
template=datamodel_pb2.SandboxTemplate(image=image),
106-
)

e2e/python/test_sandbox_gpu.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

tasks/test.toml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ depends = ["e2e:docker:gpu"]
3636
description = "Build local GPU workload test images and manifest"
3737
run = "bash tasks/scripts/e2e-gpu-build-images.sh"
3838

39-
["e2e:k3s:gpu"]
40-
description = "Run k3s GPU end-to-end tests"
41-
depends = ["e2e:python:gpu"]
42-
4339
["test:rust"]
4440
description = "Run Rust tests"
4541
run = [
@@ -77,12 +73,6 @@ depends = ["python:proto"]
7773
env = { UV_NO_SYNC = "1", PYTHONPATH = "python" }
7874
run = "e2e/with-docker-gateway.sh uv run pytest -o python_files='test_*.py' -m 'not gpu' -n ${E2E_PARALLEL:-5} e2e/python"
7975

80-
["e2e:python:gpu"]
81-
description = "Run Python GPU e2e tests"
82-
depends = ["python:proto"]
83-
env = { UV_NO_SYNC = "1", PYTHONPATH = "python", OPENSHELL_E2E_DOCKER_GPU = "1" }
84-
run = "e2e/with-docker-gateway.sh uv run pytest -o python_files='test_*.py' -m gpu -n ${E2E_PARALLEL:-1} e2e/python"
85-
8676
["e2e:podman"]
8777
description = "Run Rust CLI e2e tests against a Podman-backed gateway"
8878
run = "e2e/rust/e2e-podman.sh"

0 commit comments

Comments
 (0)