From a159cbfc61b4bca02d9c50ef6f8681df402fccf1 Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Mon, 4 Jan 2021 17:54:52 -0800 Subject: [PATCH] /.github/scripts/performance-benchmarking/run-benchmarks.sh: increase timeout --- .github/scripts/performance-benchmarking/run-benchmarks.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/performance-benchmarking/run-benchmarks.sh b/.github/scripts/performance-benchmarking/run-benchmarks.sh index 276d57237b..37cca7855e 100755 --- a/.github/scripts/performance-benchmarking/run-benchmarks.sh +++ b/.github/scripts/performance-benchmarking/run-benchmarks.sh @@ -35,7 +35,9 @@ source "$TEMPLATE_SCRIPT" "$jobname" "$FROM_VERSION" "$TO_VERSION" "$timeprefix" KUBECONFIG="$KUBECONFIG" kubectl apply -f job.json -errors=$(KUBECONFIG="$KUBECONFIG" kubectl wait job/"$jobname" --for=condition=complete -n performance-benchmarking --timeout=400s 2>&1 || true) +errors=$(KUBECONFIG="$KUBECONFIG" kubectl wait job/"$jobname" --for=condition=complete -n performance-benchmarking --timeout=600s 2>&1 || true) + +echo "This is the value of errors: $errors" if [ -z "$errors" ]; then KUBECONFIG="$KUBECONFIG" kubectl delete job/"$jobname" -n performance-benchmarking