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

test(db): add test for db #5461

Merged

Conversation

lurais
Copy link
Contributor

@lurais lurais commented Aug 31, 2023

What does this PR do?
add several test cases to cover more code verification scenarios

Why are these changes required?
improve test case coverage

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@lurais lurais force-pushed the feature/add_cover_test branch from 366fc42 to df8538f Compare August 31, 2023 11:27
@codecov-commenter
Copy link

Codecov Report

Merging #5461 (df8538f) into develop (ad728fa) will increase coverage by 0.15%.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

@@              Coverage Diff              @@
##             develop    #5461      +/-   ##
=============================================
+ Coverage      61.35%   61.50%   +0.15%     
- Complexity      9348     9379      +31     
=============================================
  Files            846      846              
  Lines          50211    50211              
  Branches        5583     5583              
=============================================
+ Hits           30805    30884      +79     
+ Misses         17002    16910      -92     
- Partials        2404     2417      +13     

see 23 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@lurais lurais force-pushed the feature/add_cover_test branch from df8538f to c964848 Compare September 4, 2023 07:43
@halibobo1205 halibobo1205 mentioned this pull request Aug 29, 2023
5 tasks
@halibobo1205 halibobo1205 changed the title test(case): add test case test(db): add test for db Sep 6, 2023
Args.setParam(
new String[]{
"--output-directory", dbPath,
"--history-balance-lookup"
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need --history-balance-lookup

@halibobo1205 halibobo1205 added the area:test change in test label Sep 14, 2023
@lurais lurais force-pushed the feature/add_cover_test branch from c964848 to bc8e8df Compare September 18, 2023 15:13
@lurais lurais changed the base branch from develop to release_v4.7.3 September 20, 2023 07:35
@halibobo1205 halibobo1205 merged commit 6802f34 into tronprotocol:release_v4.7.3 Sep 22, 2023
@halibobo1205 halibobo1205 added this to the GreatVoyage-v4.7.3 milestone Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:test change in test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants