Skip to content

Commit

Permalink
[type:fix] e2e test error
Browse files Browse the repository at this point in the history
  • Loading branch information
moremind committed Oct 23, 2023
1 parent 20690cc commit 15b8044
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ for sync in ${SYNC_ARRAY[@]}; do
fi
kubectl apply -f "${SHENYU_TESTCASE_DIR}"/k8s/sync/shenyu-admin-"${sync}".yml
sh "$SHENYU_TESTCASE_DIR"/k8s/script/healthcheck.sh http://localhost:31095/actuator/health
sleep 10s
kubectl apply -f "${SHENYU_TESTCASE_DIR}"/k8s/sync/shenyu-bootstrap-"${sync}".yml
sh "$SHENYU_TESTCASE_DIR"/k8s/script/healthcheck.sh http://localhost:31195/actuator/health
kubectl apply -f "${PRGDIR}"/shenyu-examples-dubbo.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ for sync in ${SYNC_ARRAY[@]}; do
fi
kubectl apply -f "${SHENYU_TESTCASE_DIR}"/k8s/sync/shenyu-admin-"${sync}".yml
sh "$SHENYU_TESTCASE_DIR"/k8s/script/healthcheck.sh http://localhost:31095/actuator/health
sleep 10s
kubectl apply -f "${SHENYU_TESTCASE_DIR}"/k8s/sync/shenyu-bootstrap-"${sync}".yml
sh "$SHENYU_TESTCASE_DIR"/k8s/script/healthcheck.sh http://localhost:31195/actuator/health
kubectl apply -f "${PRGDIR}"/shenyu-examples-grpc.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ for sync in ${SYNC_ARRAY[@]}; do
fi
kubectl apply -f "${SHENYU_TESTCASE_DIR}"/k8s/sync/shenyu-admin-"${sync}".yml
sh "$SHENYU_TESTCASE_DIR"/k8s/script/healthcheck.sh http://localhost:31095/actuator/health
sleep 10s
kubectl apply -f "${SHENYU_TESTCASE_DIR}"/k8s/sync/shenyu-bootstrap-"${sync}".yml
sh "$SHENYU_TESTCASE_DIR"/k8s/script/healthcheck.sh http://localhost:31195/actuator/health
kubectl apply -f "${PRGDIR}"/shenyu-examples-sofa.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ for sync in ${SYNC_ARRAY[@]}; do
kubectl apply -f "${SHENYU_TESTCASE_DIR}"/k8s/sync/shenyu-admin-"${sync}".yml
sh "${CUR_PATH}"/healthcheck.sh http://localhost:31095/actuator/health
sh "${CUR_PATH}"/healthcheck.sh http://localhost:30761/actuator/health
sleep 10s
kubectl apply -f "${SHENYU_TESTCASE_DIR}"/k8s/sync/shenyu-bootstrap-"${sync}".yml
sh "${CUR_PATH}"/healthcheck.sh http://localhost:31195/actuator/health
kubectl apply -f "${PRGDIR}"/shenyu-examples-springcloud.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private void fetchGroupConfig(final ConfigGroupEnum... groups) throws ShenyuExce
}
}

private synchronized void doFetchGroupConfig(final String server, final ConfigGroupEnum... groups) {
private void doFetchGroupConfig(final String server, final ConfigGroupEnum... groups) {
StringBuilder params = new StringBuilder();
for (ConfigGroupEnum groupKey : groups) {
params.append("groupKeys").append("=").append(groupKey.name()).append("&");
Expand Down

0 comments on commit 15b8044

Please sign in to comment.