diff --git a/.github/actions/scenarios/xds-service/xds-router-lb/action.yml b/.github/actions/scenarios/xds-service/xds-router-lb/action.yml index ad6461f9a6..bf4bfc17f6 100644 --- a/.github/actions/scenarios/xds-service/xds-router-lb/action.yml +++ b/.github/actions/scenarios/xds-service/xds-router-lb/action.yml @@ -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 @@ -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 @@ -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 @@ -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