summaryrefslogtreecommitdiff
path: root/spec/support/retriable.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-26 21:10:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-26 21:10:01 +0000
commitef2f70470a506a56f7a87d0ea3039a7417be2ebf (patch)
tree855e02f07a41055e4ff625a2bbe8523f72362aab /spec/support/retriable.rb
parent67049ac7aa4accb5a964975291ce5890e65c3110 (diff)
downloadgitlab-ce-ef2f70470a506a56f7a87d0ea3039a7417be2ebf.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/retriable.rb')
-rw-r--r--spec/support/retriable.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/support/retriable.rb b/spec/support/retriable.rb
new file mode 100644
index 00000000000..be4c2d62752
--- /dev/null
+++ b/spec/support/retriable.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+Retriable.configure do |config|
+ config.multiplier = 1.0
+ config.rand_factor = 0.0
+ config.base_interval = 0
+end