Test coverage are not including JiHu cases result
Summary
The rspec:undercoverage
job keeps failing in recent week.
JH Spec List
- rspec-jh migration pg12
- rspec-jh unit pg12
- rspec-jh integration pg12
- rspec-jh system pg12
- rspec-jh migration pg12 minimal
- rspec-jh unit pg12 minimal
- rspec-jh integration pg12 minimal
- rspec-jh system pg12 minimal
Steps to reproduce
See this pipeline job
Case 1
- Goto a MR pipeline
- Choose
rspec:coverage
job - You should see the JH specs in ouputs
Case 2
- commit new codes with test cases
- You should not see the code not undercovered error in pipeline
Example Project
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
由 Martin Tan 编辑于