Skip to content

Commit

Permalink
Merge pull request #167 from yih-redhat/fix-ci
Browse files Browse the repository at this point in the history
ci: add more wait time for fallback
  • Loading branch information
yih-redhat authored Nov 18, 2024
2 parents 8034580 + 4c30903 commit 07b01ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/greenboot-bootc-qcow2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ greenprint "Bootc upgrade and reboot"
sudo ssh "${SSH_OPTIONS[@]}" -i "${SSH_KEY}" ${EDGE_USER}@${GUEST_ADDRESS} "echo ${EDGE_USER_PASSWORD} |sudo -S bootc upgrade"
sudo ssh "${SSH_OPTIONS[@]}" -i "${SSH_KEY}" ${EDGE_USER}@${GUEST_ADDRESS} "echo ${EDGE_USER_PASSWORD} |nohup sudo -S systemctl reboot &>/dev/null & exit"

# Sleep 10 seconds here to make sure vm restarted already
sleep 180
# Wait vm to finish the fallback
sleep 300

# Check for ssh ready to go.
greenprint "🛃 Checking for SSH is ready to go"
Expand Down

0 comments on commit 07b01ea

Please sign in to comment.