Skip to content

Commit

Permalink
fix: azure tests fail because take lots of time for simple demo to co… (
Browse files Browse the repository at this point in the history
#1663)

…me up

Co-authored-by: Tamir David <tamirdavid@Tamirs-MacBook-Pro.local>
  • Loading branch information
tamirdavid1 and Tamir David authored Oct 30, 2024
1 parent de9178e commit 89439b1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/e2e/helm-chart/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ spec:
- apply:
file: 02-install-simple-demo.yaml
- script:
timeout: 100s
timeout: 70s
content: |
# Wait for the pods to be ready
kubectl wait --for=condition=ready pod -l app=frontend --timeout=50s
kubectl wait --for=condition=ready pod -l app=coupon --timeout=50s
kubectl wait --for=condition=ready pod -l app=inventory --timeout=50s
kubectl wait --for=condition=ready pod -l app=pricing --timeout=50s
kubectl wait --for=condition=ready pod -l app=membership --timeout=50s
kubectl wait --for=condition=ready pod -l app=frontend --timeout=60s
kubectl wait --for=condition=ready pod -l app=coupon --timeout=60s
kubectl wait --for=condition=ready pod -l app=inventory --timeout=60s
kubectl wait --for=condition=ready pod -l app=pricing --timeout=60s
kubectl wait --for=condition=ready pod -l app=membership --timeout=60s
- assert:
file: assert-apps-installed.yaml

Expand Down
8 changes: 8 additions & 0 deletions tests/e2e/multi-apps/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ spec:
fi
- apply:
file: 02-install-simple-demo.yaml
- script:
timeout: 70s
content: |
kubectl wait --for=condition=ready pod -l app=frontend --timeout=60s
kubectl wait --for=condition=ready pod -l app=coupon --timeout=60s
kubectl wait --for=condition=ready pod -l app=inventory --timeout=60s
kubectl wait --for=condition=ready pod -l app=pricing --timeout=60s
kubectl wait --for=condition=ready pod -l app=membership --timeout=60s
- assert:
file: assert-apps-installed.yaml

Expand Down

0 comments on commit 89439b1

Please sign in to comment.