Skip to content

Commit

Permalink
Use a different worker pool name for each test
Browse files Browse the repository at this point in the history
  • Loading branch information
kiendang committed May 16, 2024
1 parent 9f24bab commit b0b658a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/container_workload/pool_image_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def test_pool_launch(
assert isinstance(push_result, sy.SyftSuccess), str(push_result)

# Launch a worker pool
worker_pool_name = "custom-worker-pool-opendp"
worker_pool_name = f"custom-worker-pool-opendp{'-prebuilt' if prebuilt else ''}"
worker_pool_res = domain_client.api.services.worker_pool.launch(
name=worker_pool_name,
image_uid=worker_image.id,
Expand Down Expand Up @@ -236,7 +236,7 @@ def test_pool_image_creation_job_requests(
else make_docker_config_test_case("numpy")
)

worker_pool_name = "custom-worker-pool-numpy"
worker_pool_name = f"custom-worker-pool-numpy{'-prebuilt' if prebuilt else ''}"
request = ds_client.api.services.worker_pool.create_image_and_pool_request(
pool_name=worker_pool_name,
num_workers=1,
Expand Down

0 comments on commit b0b658a

Please sign in to comment.