summaryrefslogtreecommitdiff
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-14 17:54:16 +0200
commit600e8cf3206387a9f784ac0d11c0fe1798e72187 (patch)
tree57843c76df952821c8f9304853edeb6f7453d60e
parent6966074335dce72435cf5fd4baf070edadfc300c (diff)
downloadgitlab-ce-bvl-circuitbreaker-settings-to-avoid-failures.tar.gz
Use better higher threshold settings for storage access in testsbvl-circuitbreaker-settings-to-avoid-failures
`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
-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