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 fuzz tests for StorageVec::binary_search* #867

Merged
merged 5 commits into from
Jul 21, 2021

Conversation

cmichi
Copy link
Collaborator

@cmichi cmichi commented Jul 20, 2021

Follow-up for #836.

@cmichi cmichi force-pushed the cmichi-add-fuzz-tests-for-vec-binary-search branch from 521582a to f5a7344 Compare July 20, 2021 09:01
We found that bugs are usually already found
with low numbers.
@cmichi cmichi requested a review from HCastano July 20, 2021 16:32
crates/storage/src/collections/vec/fuzz_tests.rs Outdated Show resolved Hide resolved
crates/storage/src/collections/vec/fuzz_tests.rs Outdated Show resolved Hide resolved
crates/storage/src/collections/vec/fuzz_tests.rs Outdated Show resolved Hide resolved
crates/storage/src/collections/vec/fuzz_tests.rs Outdated Show resolved Hide resolved
@@ -415,7 +415,7 @@ fuzz-tests:
<<: *test-refs
variables:
# The QUICKCHECK_TESTS default is 100
QUICKCHECK_TESTS: 20000
QUICKCHECK_TESTS: 5000
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this being reduced? What kind of time savings are we looking at?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

See the extended commit message. Current duration is ~15 minutes for this stage, I'd like to see how this reduces with this lower number.

@HCastano HCastano added the A-ink_storage [ink_storage] Work Item label Jul 20, 2021
Michael Müller and others added 3 commits July 21, 2021 08:46
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
@cmichi cmichi merged commit bffe9bf into master Jul 21, 2021
@cmichi cmichi deleted the cmichi-add-fuzz-tests-for-vec-binary-search branch July 21, 2021 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ink_storage [ink_storage] Work Item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants