Skip to content

Commit 644202e

Browse files
authored
Fix test_running_real_remove_backup_groups_job (#2165)
## Changes Change timeout logic ### Linked issues Resolves #1907 ### Functionality None ### Tests None Co-authored-by: Eric Vergnaud <[email protected]>
1 parent 28e60b2 commit 644202e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/install/test_installation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def test_job_cluster_policy(ws, installation_ctx):
167167
assert policy_definition["aws_attributes.availability"]["value"] == compute.AwsAvailability.ON_DEMAND.value
168168

169169

170-
@retried(on=[NotFound, InvalidParameterValue], timeout=timedelta(minutes=5))
170+
@retried(on=[NotFound, InvalidParameterValue])
171171
def test_running_real_remove_backup_groups_job(ws, installation_ctx):
172172
ws_group_a, _ = installation_ctx.make_ucx_group()
173173

@@ -181,7 +181,7 @@ def test_running_real_remove_backup_groups_job(ws, installation_ctx):
181181
installation_ctx.deployed_workflows.run_workflow("remove-workspace-local-backup-groups")
182182

183183
# The API needs a moment to delete a group, i.e. until the group is not found anymore
184-
@retried(on=[KeyError], timeout=timedelta(minutes=2))
184+
@retried(on=[KeyError], timeout=timedelta(minutes=4))
185185
def get_group(group_id: str):
186186
ws.groups.get(group_id)
187187
raise KeyError(f"Group is not deleted: {group_id}")

0 commit comments

Comments
 (0)