Commit 037729b3 authored by aaa's avatar aaa

update benchmark-dockerized.sh and verify-dockerized.sh

update pull request
parent dca968b0
...@@ -57,4 +57,4 @@ cd /go/src/k8s.io/kubernetes ...@@ -57,4 +57,4 @@ cd /go/src/k8s.io/kubernetes
make test-integration WHAT="$*" KUBE_TEST_ARGS="-run='XXX' -bench=. -benchmem" \ make test-integration WHAT="$*" KUBE_TEST_ARGS="-run='XXX' -bench=. -benchmem" \
| tee \ | tee \
>(prettybench -no-passthrough > "${ARTIFACTS}/BenchmarkResults.txt") \ >(prettybench -no-passthrough > "${ARTIFACTS}/BenchmarkResults.txt") \
>(go run test/integration/benchmark/jsonify/main.go "${ARTIFACTS}"/BenchmarkResults_benchmark_"$(date -u +%Y-%m-%dT%H:%M:%SZ)".json || cat > /dev/null) >(go run test/integration/benchmark/jsonify/main.go "${ARTIFACTS}/BenchmarkResults_benchmark_$(date -u +%Y-%m-%dT%H:%M:%SZ).json" || cat > /dev/null)
...@@ -21,8 +21,7 @@ set -o xtrace ...@@ -21,8 +21,7 @@ set -o xtrace
retry() { retry() {
for i in {1..5}; do for i in {1..5}; do
if "$@" if "$@"; then
then
return 0 return 0
else else
sleep "${i}" sleep "${i}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment