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

Add canonical test scenarios to RecordFileParserPerformanceTest #8855

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

steven-sheehy
Copy link
Member

Description:

  • Add canonical test scenarios to RecordFileParserPerformanceTest
  • Add entity auto creation to RecordFileBuilder and RecordItemBuilder
  • Add staking reward account to default transfer list in RecordItemBuilder
  • Add support for sub types of transactions to be created like token transfer
  • Disable syntheticContractResults in tests by default
  • Fix not handling error in local stream provider
  • Move auto-incrementing support from RecordFileBuilder into RecordItemBuilder.Builder.build() so timestamp, transactionID, sequenceNumber, etc get increased automatically
  • Simplify NFT allowance test setup

Related issue(s):

Fixes #8700

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
@steven-sheehy steven-sheehy added enhancement Type: New feature performance test Test infrastructure, automated tests required, etc parser Area: File parsing labels Jul 23, 2024
@steven-sheehy steven-sheehy added this to the 0.111.0 milestone Jul 23, 2024
@steven-sheehy steven-sheehy self-assigned this Jul 23, 2024
Copy link

codecov bot commented Jul 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.19%. Comparing base (b3a1ac0) to head (c6e7693).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8855      +/-   ##
============================================
- Coverage     92.20%   92.19%   -0.02%     
  Complexity     7598     7598              
============================================
  Files           925      925              
  Lines         30423    30430       +7     
  Branches       3704     3707       +3     
============================================
+ Hits          28052    28054       +2     
- Misses         1545     1549       +4     
- Partials        826      827       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@steven-sheehy steven-sheehy changed the title Add canonical test scenarios to RecordFileParserPerformanceTest Add canonical test scenarios to RecordFileParserPerformanceTest Jul 23, 2024
Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
Copy link

sonarcloud bot commented Jul 23, 2024

@steven-sheehy steven-sheehy marked this pull request as ready for review July 23, 2024 19:21
@steven-sheehy steven-sheehy requested review from a team and edwin-greene and removed request for a team July 23, 2024 19:22
Copy link
Contributor

@edwin-greene edwin-greene left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Member

@mgoelswirlds mgoelswirlds left a comment

Choose a reason for hiding this comment

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

LGTM

@steven-sheehy steven-sheehy merged commit 012a3a5 into main Jul 24, 2024
29 checks passed
@steven-sheehy steven-sheehy deleted the 8700-10k-test branch July 24, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature parser Area: File parsing performance test Test infrastructure, automated tests required, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support canonical test scenarios
3 participants