Skip to content

Commit

Permalink
Merge pull request #1762 from rohantmp/fixFlake
Browse files Browse the repository at this point in the history
fix: e2e flakes when waiting for vcluster
  • Loading branch information
FabianKramm authored May 13, 2024
2 parents c531f3f + 9ac86ad commit ce165cb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,12 @@ jobs:
--connect=false \
--distro=${{ matrix.distribution }}
kubectl wait --for=condition=ready pod -l app=${{ env.VCLUSTER_SUFFIX }} -n ${{ env.VCLUSTER_NAMESPACE }} --timeout=300s
_out=$(kubectl wait --for=condition=ready pod -l app=${{ env.VCLUSTER_SUFFIX }} -n ${{ env.VCLUSTER_NAMESPACE }} --timeout=300s 2>&1)
if [[ "${_out}" =~ "no matching resources" ]]
then
sleep 5
kubectl wait --for=condition=ready pod -l app=${{ env.VCLUSTER_SUFFIX }} -n ${{ env.VCLUSTER_NAMESPACE }} --timeout=300s
fi
- name: upgrade with the dev cli
run: |
Expand Down

0 comments on commit ce165cb

Please sign in to comment.