Skip to content

Commit

Permalink
[type:feature] modify e2e k8s to docker compose, cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
Aias00 committed Oct 18, 2024
1 parent 370c4f7 commit 8d78261
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@ services:
- TZ=Asia/Beijing
- shenyu.sync.websocket.urls=ws://shenyu-admin-1:9095/websocket,ws://shenyu-admin-2:9095/websocket
- shenyu.sync.websocket.allowOrigin=ws://localhost:9195
- spring.cloud.discovery.enabled=true
- eureka.client.enabled=true
- eureka.client.serviceUrl.defaultZone=http://shenyu-examples-eureka:8761/eureka/
- eureka.instance.prefer-ip-address=true
healthcheck:
test: [ "CMD-SHELL", "wget -q -O - http://shenyu-bootstrap:9195/actuator/health | grep UP || exit 1" ]
interval: 10s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ services:
- TZ=Asia/Beijing
- shenyu.sync.websocket.urls=ws://shenyu-admin-1:9095/websocket,ws://shenyu-admin-2:9095/websocket
- shenyu.sync.websocket.allowOrigin=ws://localhost:9195
- spring.cloud.discovery.enabled=true
- eureka.client.enabled=true
- eureka.client.serviceUrl.defaultZone=http://shenyu-examples-eureka:8761/eureka/
- eureka.instance.prefer-ip-address=true
healthcheck:
test: [ "CMD-SHELL", "wget -q -O - http://shenyu-bootstrap:9195/actuator/health | grep UP || exit 1" ]
interval: 10s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ for sync in "${SYNC_ARRAY[@]}"; do
sleep 10s
docker ps -a
## run e2e-test
./mvnw -B -f ./shenyu-e2e/pom.xml -pl shenyu-e2e-case/shenyu-e2e-case-http -am test
./mvnw -B -f ./shenyu-e2e/pom.xml -pl shenyu-e2e-case/shenyu-e2e-case-cluster -am test
# shellcheck disable=SC2181
if (($?)); then
echo "${sync}-sync-e2e-test failed"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ for sync in "${SYNC_ARRAY[@]}"; do
sleep 10s
docker ps -a
## run e2e-test
./mvnw -B -f ./shenyu-e2e/pom.xml -pl shenyu-e2e-case/shenyu-e2e-case-http -am test
./mvnw -B -f ./shenyu-e2e/pom.xml -pl shenyu-e2e-case/shenyu-e2e-case-cluster -am test
# shellcheck disable=SC2181
if (($?)); then
echo "${sync}-sync-e2e-test failed"
Expand Down

0 comments on commit 8d78261

Please sign in to comment.