Page MenuHomeSoftware Heritage

test_write_replay: Handle all possible hypothesis inputs
ClosedPublic

Authored by anlambert on Oct 25 2019, 5:15 PM.

Details

Summary

Two reasons this test could fail based on input generated by hypothesis:

  • HashCollision when adding a content to the first storage as hypotesis can generate duplicated content examples
  • failed assertion when hypothesis generate a content example with a status different from visible

Diff Detail

Repository
rDJNL Journal infrastructure
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.