Skip to content

Commit

Permalink
Update e2e_test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
weiiwang01 committed Jun 19, 2023
1 parent 6dabd31 commit 7a72349
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/e2e_test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Start E2E Test
name: End-to-End Test

on:
pull_request:
Expand Down Expand Up @@ -164,12 +164,8 @@ jobs:
- name: Install microk8s
run: sudo snap install microk8s --classic
- name: Wait for microk8s
run: |
while :; do
sudo timeout 60 microk8s status --wait-ready \
&& break \
|| sudo microk8s kubectl get pods --all-namespaces || :
done
timeout-minutes: 10
run: sudo microk8s status --wait-ready
- name: Deploy nginx for testing
run: sudo microk8s kubectl create deployment nginx --image=nginx
- name: Wait for nginx to be ready
Expand Down

0 comments on commit 7a72349

Please sign in to comment.