Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented May 13, 2021

Logically based on #21940

Currently the fuzz test may spend a long time generating random numbers:

Screenshot from 2021-05-13 12-14-09

Fix that by calling const member functions only once.

Hopefully fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34224

@DrahtBot DrahtBot added the Tests label May 13, 2021
@DrahtBot
Copy link
Contributor

DrahtBot commented May 13, 2021

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

No conflicts as of last run.

@practicalswift
Copy link
Contributor

Concept ACK

@maflcko maflcko marked this pull request as ready for review June 13, 2021 11:45
@maflcko maflcko force-pushed the 2105-fuzzAddrConst branch from c18c2ba to faf7623 Compare June 13, 2021 11:53
@maflcko
Copy link
Member Author

maflcko commented Jun 13, 2021

Rebased to remove the logical dependency. This is still logically based on #21940, but not strictly required for merging.

@practicalswift
Copy link
Contributor

cr ACK faf7623: touches only src/test/fuzz/addrman.cpp

@maflcko maflcko merged commit d75a1df into bitcoin:master Jun 13, 2021
@maflcko maflcko deleted the 2105-fuzzAddrConst branch June 13, 2021 17:44
gwillen pushed a commit to ElementsProject/elements that referenced this pull request Jun 1, 2022
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants