diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2015-10-06 14:56:33 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2015-10-06 14:56:33 +0200 |
commit | 11de3decc9357714498f96e13f1c1c2da1046811 (patch) | |
tree | 39c7c0cb7e1f7c7a05d909430c383933f0948577 /NEWS | |
parent | 20d2f7851ac44bd6845d060a952461f5a10e9c87 (diff) |
test: hashmap - increase number of entries for crippled hash test
The purpose of testing with the crippled hash function is to cover
the otherwise very unlikely codepath in bucket_calculate_dib() where
it has to fall back to recomputing the hash value.
This unlikely path was not covered by test-hashmap anymore after
57217c8f "test: hashmap - cripple the hash function by truncating the
input rather than the output".
Restore the test coverage by increasing the number of entries in the test.
The number was determined empirically by checking with lcov.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions