Skip to content

Commit

Permalink
Merge pull request #3963 from ggiguash/retry_rebase_417
Browse files Browse the repository at this point in the history
[release-4.17] USHIFT-4522: Add retries on rebasing ostree system
  • Loading branch information
openshift-merge-bot[bot] authored Sep 24, 2024
2 parents 5562cce + 8cc9e1d commit a78ac42
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/resources/ostree.resource
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ Deploy Commit Expecting A Rollback
[Arguments] ${ref} ${write_agent_cfg}=${TRUE}

${initial_deploy_id}= Get Booted Deployment Id
${deploy_id}= Rebase System ${ref}
${deploy_id}= Wait Until Keyword Succeeds 3x 5s
... Rebase System ${ref}
IF ${write_agent_cfg} TestAgent.Write
Write Greenboot Microshift Wait Timeout 90
Reboot MicroShift Host
Expand All @@ -44,7 +45,8 @@ Deploy Commit Not Expecting A Rollback
[Arguments] ${target_ref} ${write_agent_cfg}=${FALSE}

${initial_deploy_id}= Get Booted Deployment Id
${deploy_id}= Rebase System ${target_ref}
${deploy_id}= Wait Until Keyword Succeeds 3x 5s
... Rebase System ${target_ref}
IF ${write_agent_cfg} TestAgent.Write
Reboot MicroShift Host

Expand Down

0 comments on commit a78ac42

Please sign in to comment.