Skip to content

Rescue for file not found in rspec:undercoverage

Alina Mihaila requested to merge am-coverage-job-rescue-filenot-foud into master

What does this MR do and why?

Related #366653 (closed)

Describe in detail what your merge request does and why.

Rescue for file not found in rspec:undercoverage

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

  1. Run scripts/undercoverage
  2. Check the result
  3. Remove file gitlab/coverage/lcov/gitlab.lcov
  4. Run scripts/undercoverage
  5. Check the result. The script should pring a warning No such file or directory @ rb_sysopen - /Users/alinamihaila/Documents/work/gitlab-development-kit/gitlab/coverage/lcov/gitlab.lcov

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports