Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable coverage linter for functional tests #6479

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

knst
Copy link
Collaborator

@knst knst commented Dec 11, 2024

Issue being fixed or feature implemented

https://github.com/dashpay/dash-issues/issues/63

What was done?

Add functional tests for getblockheaders
Hide RPC cleardiscouraged (as it is used only for functional tests) and RPC getpoolinfo (deprecated long time ago)
Add a workaround to ignore these RPCs getmerkleblocks, voteraw, debug, coinjoinsalt at the moment
Enables linter for coverage

How Has This Been Tested?

Run locally with test/functional/test_runner.py -j20 --previous-releases --coverage --extended
Enabled in CI

Breaking Changes

N/A if hidding cleardiscouraged is not a breaking change.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone

@knst knst added this to the 22.1 milestone Dec 11, 2024
@knst knst added the RPC Some notable changes to RPC params/behaviour/descriptions label Dec 11, 2024
@UdjinM6
Copy link

UdjinM6 commented Dec 11, 2024

Uncovered RPC commands:
  - cleardiscouraged
  - coinjoinsalt
  - debug
  - getmerkleblocks
  - voteraw

https://gitlab.com/dashpay/dash/-/jobs/8612503149

@knst knst marked this pull request as draft December 11, 2024 15:33
@knst knst force-pushed the feat-enable-coverage branch 2 times, most recently from f56e7cb to e0c580e Compare December 13, 2024 14:13
Copy link

This pull request has conflicts, please rebase.

@knst knst force-pushed the feat-enable-coverage branch from e0c580e to 2e509b9 Compare December 13, 2024 14:19
@knst knst marked this pull request as ready for review December 13, 2024 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RPC Some notable changes to RPC params/behaviour/descriptions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants