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

Coverage for: networkGroup, nodeGroup, proofGroup, transactionGroup, validatorGroup, vmValuesGroup #5184

Merged
merged 10 commits into from Apr 28, 2023

Conversation

sstanculeanu
Copy link
Contributor

@sstanculeanu sstanculeanu commented Apr 20, 2023

Reasoning behind the pull request

  • increase code coverage

Proposed changes

  • added unittests for networkGroup, nodeGroup, proofGroup, transactionGroup, validatorGroup, vmValuesGroup

Testing procedure

  • standard system test

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

@codecov
Copy link

codecov bot commented Apr 20, 2023

Codecov Report

Patch coverage: 75.00% and project coverage change: +0.26 🎉

Comparison is base (44673d4) 78.75% compared to head (723c557) 79.01%.

❗ Current head 723c557 differs from pull request most recent head 934b03f. Consider uploading reports for the commit 934b03f to get more accurate results

Additional details and impacted files
@@              Coverage Diff              @@
##           rc/v1.6.0    #5184      +/-   ##
=============================================
+ Coverage      78.75%   79.01%   +0.26%     
=============================================
  Files            680      680              
  Lines          88133    88018     -115     
=============================================
+ Hits           69406    69550     +144     
+ Misses         13502    13259     -243     
+ Partials        5225     5209      -16     
Impacted Files Coverage Δ
api/groups/proofGroup.go 87.14% <75.00%> (+15.37%) ⬆️

... and 8 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sstanculeanu sstanculeanu changed the title [DO NOT MERGE YET] Coverage for: networkGroup, nodeGroup, proofGroup, validatorGroup, vmValuesGroup [DO NOT MERGE YET] Coverage for: networkGroup, nodeGroup, proofGroup, transactionGroup, validatorGroup, vmValuesGroup Apr 21, 2023
@sstanculeanu sstanculeanu marked this pull request as ready for review April 21, 2023 13:17
@bogdan-rosianu bogdan-rosianu self-requested a review April 24, 2023 10:59
bogdan-rosianu
bogdan-rosianu previously approved these changes Apr 24, 2023
@sstanculeanu sstanculeanu changed the base branch from rc/v1.5.0 to rc/v1.6.0 April 24, 2023 17:28
@sstanculeanu sstanculeanu dismissed bogdan-rosianu’s stale review April 24, 2023 17:28

The base branch was changed.

@sstanculeanu sstanculeanu changed the title [DO NOT MERGE YET] Coverage for: networkGroup, nodeGroup, proofGroup, transactionGroup, validatorGroup, vmValuesGroup Coverage for: networkGroup, nodeGroup, proofGroup, transactionGroup, validatorGroup, vmValuesGroup Apr 24, 2023
@iulianpascalau iulianpascalau self-requested a review April 25, 2023 15:16
return expectedMap, nil
},
}
networkGroup, err := groups.NewNetworkGroup(&facade)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L970-L981 function extraction?

bogdan-rosianu
bogdan-rosianu previously approved these changes Apr 26, 2023
iulianpascalau
iulianpascalau previously approved these changes Apr 27, 2023
gabi-vuls
gabi-vuls previously approved these changes Apr 28, 2023
Copy link
Collaborator

@gabi-vuls gabi-vuls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

System test passed.
@@ Log scanner @@

api_tests_p3

================================================================================

  • Known Warnings 9
  • New Warnings 2
  • Known Errors 0
  • New Errors 1
  • Panics 0
    ================================================================================
  • block hash does not match 12612
  • wrong nonce in block 4068
  • miniblocks does not match 0
  • num miniblocks does not match 0
  • miniblock hash does not match 0
  • block bodies does not match 0
  • receipts hash missmatch 0
    ================================================================================
  • No jailed nodes on the testnet
    ================================================================================

…into api_tests_p3

# Conflicts:
#	api/mock/facadeStub.go
@sstanculeanu sstanculeanu merged commit 453eeb0 into rc/v1.6.0 Apr 28, 2023
5 checks passed
@sstanculeanu sstanculeanu deleted the api_tests_p3 branch April 28, 2023 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants