summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-05-04 16:59:54 +0200
committerdrebs <drebs@leap.se>2017-07-03 14:20:06 -0300
commit4144585b98fdf02c49208604b7e7ba4419fe0a45 (patch)
tree3f32dd44f846bbcce8307d8fa2a18712d0d55f17
parentf0dd209d4ea9e17f796fdd461367377560c4f627 (diff)
[test] Set a timeout of 2 hours for docker jobs.
-rwxr-xr-xbenchmark-all-commits.sh6
1 files changed, 5 insertions, 1 deletions
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