Skip to content

Commit

Permalink
ci: add more wait time for fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Yi He committed Nov 18, 2024
1 parent 8034580 commit 4c30903
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 4c30903

Please sign in to comment.