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

Fuzz test for compact.RangeNodes #32

Merged
merged 6 commits into from
Jul 21, 2022
Merged

Conversation

hickford
Copy link
Contributor

@hickford hickford requested a review from a team as a code owner July 18, 2022 15:22
@hickford hickford requested a review from AlCutter July 18, 2022 15:22
@hickford
Copy link
Contributor Author

hickford commented Jul 18, 2022

Requires https://pkg.go.dev/testing#F "added in go1.18", so would need to adjust CI

Copy link
Collaborator

@AlCutter AlCutter left a comment

Choose a reason for hiding this comment

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

Nice one, thanks!

compact/nodes_test.go Outdated Show resolved Hide resolved
@hickford hickford requested a review from AlCutter July 18, 2022 15:35
Copy link
Contributor

@mhutchinson mhutchinson left a comment

Choose a reason for hiding this comment

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

This with the changes @AlCutter has done to put the new features behind a build flag so that we're still compatible with 1.17 looks very tasty to me. Good work, team.

@AlCutter
Copy link
Collaborator

I've added a couple of commits for discussion:

  • Move the fuzz test into its own file, guarded by a build tag which only allows go1.18+ to see it
  • Rolled back the test/CI config changes to allow testing with 1.17 and 1.18

@hickford What do you think?

@codecov-commenter
Copy link

Codecov Report

Merging #32 (0186e47) into main (3d7510c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #32   +/-   ##
=======================================
  Coverage   88.93%   88.93%           
=======================================
  Files           7        7           
  Lines         497      497           
=======================================
  Hits          442      442           
  Misses         50       50           
  Partials        5        5           

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 3d7510c...0186e47. Read the comment docs.

@hickford
Copy link
Contributor Author

@AlCutter LGTM

@mhutchinson mhutchinson merged commit ca422cf into transparency-dev:main Jul 21, 2022
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.

4 participants