mirror of https://github.com/k3s-io/k3s
update benchmark-dockerized.sh and verify-dockerized.sh
update pull requestk3s-v1.15.3
parent
dca968b078
commit
037729b357
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue