Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hashtree:sha_test_ from timing out
EQC takes a long time, and uses gigabytes of memory to generate 1MB random binaries, as evidenced by: eqc_gen:sample(eqc_gen:binary(1024 * 1024)). We're still able to write a solid test, by ensuring that we always chunk the binary into between 1 and 16 chunks. So instead of generating the chunk size, we now generate the number of chunks, and derive chunk size from that. This change allowed us to remove one level of ?FORALL nesting, as well.
- Loading branch information
602e3ab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from kellymclaughlin
at 602e3ab
602e3ab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging basho/riak_core/bugfix/hashtree-prop_sha-timeout = 602e3ab into borshop-integration-587-bugfix/hashtree-prop_sha-timeout
602e3ab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
basho/riak_core/bugfix/hashtree-prop_sha-timeout = 602e3ab merged ok, testing candidate = 1d196e9