fix kubemark e2e test script

This commit is contained in:
mlmhl 2019-07-22 18:54:34 +08:00
parent 1cb3b5807e
commit 8ca6de6d20

View File

@ -47,8 +47,8 @@ if [[ -f /.dockerenv ]]; then
go run ./hack/e2e.go -- --check-version-skew=false --test --test_args="--e2e-verify-service-account=false --dump-logs-on-failure=false ${ARGS[*]}"
else
# Running locally.
for ((i=0; i < ${ARGS[@]}; i++)); do
ARGS[$i]="$(echo "ARGS[$i]" | sed -e 's/\[/\\\[/g' -e 's/\]/\\\]/g' )"
for ((i=0; i < ${#ARGS[@]}; i++)); do
ARGS[$i]="$(echo "${ARGS[$i]}" | sed -e 's/\[/\\\[/g' -e 's/\]/\\\]/g' )"
done
"${KUBE_ROOT}/hack/ginkgo-e2e.sh" "--e2e-verify-service-account=false" "--dump-logs-on-failure=false" "${ARGS[@]}"
fi