Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-08-22 20:19:44 +0300
committerRuben Davila <rdavila84@gmail.com>2016-08-24 00:15:06 +0300
commit0d83b55ea411338c09864861f1edf4998dba8902 (patch)
tree955bd8f5d4a2f94d2e7f5f44c85877eea05b6ed2 /spec
parente6f5653c2aaec4853ad6683f396b40ca44b69fbe (diff)
Merge branch 'fix/coverage-report-merge-time' into 'master'
Bump SimpleCov merge timeout to 365 days ## What does this MR do? In case that CI pipeline fails because of intermittent errors in one of the jobs, when someone retries the only failing job located in the middle stage, the job that calculates compound coverage that is configured in later stage, and triggered after retrying job in the pipeline, will still return an accurate coverage value. Closes #21144 See merge request !5932
Diffstat (limited to 'spec')
-rw-r--r--spec/simplecov_env.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/simplecov_env.rb b/spec/simplecov_env.rb
index 6f8f7109e14..b507d38f472 100644
--- a/spec/simplecov_env.rb
+++ b/spec/simplecov_env.rb
@@ -1,4 +1,5 @@
require 'simplecov'
+require 'active_support/core_ext/numeric/time'
module SimpleCovEnv
extend self
@@ -48,7 +49,7 @@ module SimpleCovEnv
add_group 'Uploaders', 'app/uploaders'
add_group 'Validators', 'app/validators'
- merge_timeout 7200
+ merge_timeout 365.days
end
end
end