Skip to content

Commit

Permalink
Use different prebuilt images for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kiendang committed May 21, 2024
1 parent 9e84ea9 commit f9a35e1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/integration/container_workload/pool_image_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_pool_launch(

# Submit Worker Image
worker_config, docker_tag = (
(PrebuiltWorkerConfig(tag=(_tag := "docker.io/library/python:3-alpine")), _tag)
(PrebuiltWorkerConfig(tag=(_tag := "docker.io/library/nginx:latest")), _tag)
if prebuilt
else make_docker_config_test_case("opendp")
)
Expand Down Expand Up @@ -219,9 +219,7 @@ def test_pool_image_creation_job_requests(
# the DS makes a request to create an image and a pool based on the image
worker_config, docker_tag = (
(
PrebuiltWorkerConfig(
tag=(_tag := f"docker.io/openmined/grid-backend:{sy.__version__}")
),
PrebuiltWorkerConfig(tag=(_tag := f"{registry}/{repo}:{tag}")),
_tag,
)
if prebuilt
Expand Down

0 comments on commit f9a35e1

Please sign in to comment.