Skip to content

Commit

Permalink
xDS router and lb integration test 15
Browse files Browse the repository at this point in the history
Signed-off-by: daizhenyu <[email protected]>
  • Loading branch information
daizhenyu committed Oct 12, 2024
1 parent 3dbac58 commit 0faa20d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/actions/scenarios/xds-service/xds-router-lb/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ runs:
run: |
kubectl apply -f sermant-integration-tests/xds-service-test/script/zookeeper.yaml
kubectl wait --for=condition=ready pod -l app=zookeeper --timeout=10s
sleep 10s
sleep 15s
- name: start spring-client
shell: bash
run: |
kubectl apply -f sermant-integration-tests/xds-service-test/script/router/deployment/spring-client-sermant-xds-router.yaml
kubectl wait --for=condition=ready pod -l app=spring-client --timeout=10s
sleep 10s
sleep 15s
nohup kubectl port-forward svc/spring-client 8080:8080 &
sleep 2s
bash ./sermant-integration-tests/scripts/checkService.sh http://127.0.0.1:8080/checkStatus 150
Expand All @@ -42,7 +42,7 @@ runs:
run: |
kubectl apply -f sermant-integration-tests/xds-service-test/script/router/deployment/spring-cloud-client-sermant-xds-router.yaml
kubectl wait --for=condition=ready pod -l app=spring-cloud-client --timeout=10s
sleep 10s
sleep 15s
nohup kubectl port-forward svc/spring-cloud-client 8082:8082 &
sleep 2s
bash ./sermant-integration-tests/scripts/checkService.sh http://127.0.0.1:8082/router/checkStatus 150
Expand All @@ -51,7 +51,7 @@ runs:
run: |
kubectl apply -f sermant-integration-tests/xds-service-test/script/router/deployment/spring-server.yaml
kubectl wait --for=condition=ready pod -l app=spring-server --timeout=10s
sleep 10s
sleep 15s
nohup kubectl port-forward svc/spring-server 8081:8081 &
sleep 2s
bash ./sermant-integration-tests/scripts/checkService.sh http://127.0.0.1:8081/hello 150
Expand Down Expand Up @@ -92,11 +92,11 @@ runs:
shell: bash
run: |
kubectl delete -f sermant-integration-tests/xds-service-test/script/router/deployment/spring-server.yaml
sleep 5s
sleep 10s
kubectl label namespace default istio-injection=enabled
kubectl apply -f sermant-integration-tests/xds-service-test/script/router/deployment/spring-server.yaml
kubectl wait --for=condition=ready pod -l app=spring-server --timeout=10s
sleep 5s
sleep 15s
nohup kubectl port-forward svc/spring-server 8081:8081 &
sleep 2s
bash ./sermant-integration-tests/scripts/checkService.sh http://127.0.0.1:8081/hello 150
Expand Down

0 comments on commit 0faa20d

Please sign in to comment.