Skip to content

Commit

Permalink
xds integration optimization - 3
Browse files Browse the repository at this point in the history
Signed-off-by: daizhenyu <[email protected]>
  • Loading branch information
daizhenyu committed Aug 5, 2024
1 parent ea94e18 commit 3b27041
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,9 @@ runs:
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 get pod
POD_NAME=$(kubectl get pod -l app=spring-server -n default -o jsonpath="{.items[0].metadata.name}")
kubectl logs $POD_NAME -n default
nohup kubectl port-forward svc/spring-server 8082:8081 &
sleep 5s
bash ./sermant-integration-tests/scripts/checkService.sh http://127.0.0.1:8082/hello 150
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
pkill -f "kubectl port-forward svc/spring-server"
- name: test one server
shell: bash
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
server.port=8081

0 comments on commit 3b27041

Please sign in to comment.