Skip to content

Commit

Permalink
* [e2e] fix bug in upgrade test
Browse files Browse the repository at this point in the history
  • Loading branch information
lanfon72 authored and khushboo-rancher committed Jan 17, 2024
1 parent be9146b commit fafe470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions harvester_e2e_tests/integration/test_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,8 +736,8 @@ def vm_prereq(cluster_state, api_client, vm_shell, wait_timeout):
if vm2_name is None:
vm2_name = f"vm2-{cluster_state.unique_id}"
restore_spec = api_client.backups.RestoreSpec(True, vm_name=vm2_name)
code, data = api_client.backups.create(cluster_state.backup['metadata']['name'],
restore_spec)
code, data = api_client.backups.restore(cluster_state.backup['metadata']['name'],
restore_spec)
assert code == 201, (
f"Failed to restore to vm2: {data}")

Expand Down

0 comments on commit fafe470

Please sign in to comment.