Unverified Commit 92918dc2 authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #76448 from xichengliudui/fixshellcheckfailures-20

update benchmark-dockerized.sh and verify-dockerized.sh
parents 46ba211b 037729b3
......@@ -57,4 +57,4 @@ cd /go/src/k8s.io/kubernetes
make test-integration WHAT="$*" KUBE_TEST_ARGS="-run='XXX' -bench=. -benchmem" \
| tee \
>(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
retry() {
for i in {1..5}; do
if "$@"
then
if "$@"; then
return 0
else
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