diff --git a/.github/actions/scenarios/xds-service/xds-service-discovery/sermant-only/action.yml b/.github/actions/scenarios/xds-service/xds-service-discovery/sermant-only/action.yml index 63cbe8648d..44d92d2e46 100644 --- a/.github/actions/scenarios/xds-service/xds-service-discovery/sermant-only/action.yml +++ b/.github/actions/scenarios/xds-service/xds-service-discovery/sermant-only/action.yml @@ -22,7 +22,8 @@ runs: run: | kubectl wait --for=condition=ready pod -l app=spring-client --timeout=10s kubectl wait --for=condition=ready pod -l app=spring-server --timeout=10s - kubectl port-forward svc/spring-client 8080:8080 & + sleep 5s + 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 kubectl port-forward svc/spring-server 8081:8081 &