From 690f3c486e04f6e735648ce4bb2774c2f457e217 Mon Sep 17 00:00:00 2001 From: drebs Date: Thu, 4 May 2017 16:59:54 +0200 Subject: [benchmarks] Set a timeout of 2 hours for docker jobs. --- benchmark-all-commits.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/benchmark-all-commits.sh b/benchmark-all-commits.sh index 8bab6105..60c37df9 100755 --- a/benchmark-all-commits.sh +++ b/benchmark-all-commits.sh @@ -41,7 +41,11 @@ do # Option 2: Run couchdb + tox in docker container using gitlab-runner git checkout origin/benchmark-all-commits .gitlab-ci.yml - time gitlab-runner exec docker benchmark --env PYTEST_OPTS="$PYTEST_OPTS" --env HOST_HOSTNAME="$(hostname)" + time gitlab-runner exec docker \ + benchmark \ + --timeout 7200 \ + --env PYTEST_OPTS="$PYTEST_OPTS" \ + --env HOST_HOSTNAME="$(hostname)" code=$? echo "$(date -Iseconds) ${commit_id} ${code}" >> results.txt -- cgit v1.2.3