Skip to content

mr_list_test: mrListStateClosed fix#575

Merged
prarit merged 1 commit intozaquestion:masterfrom
prarit:fix_mrListStateClosed
Jan 21, 2021
Merged

mr_list_test: mrListStateClosed fix#575
prarit merged 1 commit intozaquestion:masterfrom
prarit:fix_mrListStateClosed

Conversation

@prarit
Copy link
Copy Markdown
Collaborator

@prarit prarit commented Jan 21, 2021

mrListStateClosed test is failing with not finding the output "!5 closed
mr". This occurs because the output contains only the first 20 closed
MRs. If all the closed MRs were listed the test will pass.

Modify the mrListStateClosed test to list all closed MRs.

Signed-off-by: Prarit Bhargava prarit@redhat.com

mrListStateClosed test is failing with not finding the output "!5 closed
mr".  This occurs because the output contains only the first 20 closed
MRs.  If all the closed MRs were listed the test will pass.

Modify the mrListStateClosed test to list all closed MRs.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
@prarit
Copy link
Copy Markdown
Collaborator Author

prarit commented Jan 21, 2021

This fixes the remaining test failure.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 21, 2021

Codecov Report

Merging #575 (505bb62) into master (85a6290) will decrease coverage by 0.08%.
The diff coverage is 48.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #575      +/-   ##
==========================================
- Coverage   58.29%   58.20%   -0.09%     
==========================================
  Files          63       64       +1     
  Lines        4134     4197      +63     
==========================================
+ Hits         2410     2443      +33     
- Misses       1489     1519      +30     
  Partials      235      235              
Impacted Files Coverage Δ
cmd/mr_show.go 71.84% <0.00%> (-1.43%) ⬇️
internal/config/config.go 24.15% <0.00%> (ø)
internal/gitlab/gitlab.go 8.06% <0.00%> (-0.34%) ⬇️
cmd/ci_artifacts.go 100.00% <100.00%> (ø)
cmd/mr_list.go 74.71% <0.00%> (+2.29%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c6eec1...505bb62. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant