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

Fix fuzz tests; add iterator fuzz test #1991

Merged
merged 16 commits into from
Sep 15, 2023
Merged

Fix fuzz tests; add iterator fuzz test #1991

merged 16 commits into from
Sep 15, 2023

Conversation

danlaine
Copy link

@danlaine danlaine commented Sep 8, 2023

Why this should be merged

Fuzz can only be called once on a *testing.F

How this works

Fixes fuzz test setup by removing functions that call Fuzz twice; also adds a test.

How this was tested

N/A

@danlaine danlaine added the testing This primarily focuses on testing label Sep 8, 2023
@danlaine danlaine self-assigned this Sep 8, 2023
@danlaine danlaine marked this pull request as draft September 12, 2023 16:16
@danlaine danlaine marked this pull request as ready for review September 12, 2023 17:18
database/leveldb/db_test.go Outdated Show resolved Hide resolved
database/test_database.go Outdated Show resolved Hide resolved
@StephenButtolph StephenButtolph merged commit a93f2b8 into dev Sep 15, 2023
16 checks passed
@StephenButtolph StephenButtolph deleted the fuzz-iterator branch September 15, 2023 22:16
@StephenButtolph StephenButtolph added this to the v1.10.10 milestone Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing This primarily focuses on testing
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants