summaryrefslogtreecommitdiff
path: root/config/gitlab.yml.example
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-08-13 14:53:49 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-08-16 14:15:50 +0200
commit93d56eb2a5763cb5f1ac89610bb2e1dc7f77a04a (patch)
tree249d32544169a55632d3bd96930ab3254a8cfaec /config/gitlab.yml.example
parentee603a0089520ae22a97d9f5f5d7d083c2fe24ce (diff)
downloadgitlab-ce-93d56eb2a5763cb5f1ac89610bb2e1dc7f77a04a.tar.gz
Use better higher threshold settings for storage access in tests
`failure_count_threshold`: We should never need this, but we don't want to block access in tests because of this. `failure_wait_time`: Setting it to 0 now allows each storage attempt `storage_timeout`: Try a bit longer to access storage on CI in case the slow machines take a bit longer to spin up the process to perfom the check
Diffstat (limited to 'config/gitlab.yml.example')
-rw-r--r--config/gitlab.yml.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index e73db08fcac..25285525846 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -649,6 +649,9 @@ test:
default:
path: tmp/tests/repositories/
gitaly_address: unix:tmp/tests/gitaly/gitaly.socket
+ failure_count_threshold: 999999
+ failure_wait_time: 0
+ storage_timeout: 30
broken:
path: tmp/tests/non-existent-repositories
gitaly_address: unix:tmp/tests/gitaly/gitaly.socket