Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions tests/worker/test_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1281,7 +1281,8 @@ async def mk_call() -> DescribeWorkerDeploymentResponse:
DescribeWorkerDeploymentRequest(
namespace=client.namespace,
deployment_name=version.deployment_name,
)
),
retry=True,
)
except RPCError:
# Expected
Expand All @@ -1304,7 +1305,8 @@ async def set_current_deployment_version(
deployment_name=version.deployment_name,
version=version.to_canonical_string(),
conflict_token=conflict_token,
)
),
retry=True,
)


Expand All @@ -1321,7 +1323,8 @@ async def set_ramping_version(
version=version.to_canonical_string(),
conflict_token=conflict_token,
percentage=percentage,
)
),
retry=True,
)
return response

Expand All @@ -1341,7 +1344,8 @@ async def check() -> bool:
DescribeWorkerDeploymentRequest(
namespace=client.namespace,
deployment_name=deployment_name,
)
),
retry=True,
)
routing_config = resp.worker_deployment_info.routing_config
if (
Expand Down
Loading