Skip to content

Commit

Permalink
chore(ci): wait for app to deploy after upgrade (#1365)
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh authored Oct 23, 2024
1 parent 0ca378a commit 05559c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/scripts/check-postupgrade-state.sh
Original file line number Diff line number Diff line change
@@ -39,7 +39,8 @@ main() {
fi

# ensure that new app pods exist
if ! kubectl get pods -n kotsadm -l app=second | grep -q Running ; then
# wait for new app pods to be running
if ! retry 5 kubectl get pods -n kotsadm -l app=second | grep -q Running ; then
echo "no pods found for second app version"
kubectl get pods -n kotsadm
exit 1

0 comments on commit 05559c6

Please sign in to comment.