Page MenuHomeSoftware Heritage

test_write_replay: Handle all possible hypothesis inputs

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



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

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

Event Timeline

anlambert created this revision.Oct 25 2019, 5:15 PM
olasd accepted this revision.Oct 26 2019, 3:59 PM
This revision is now accepted and ready to land.Oct 26 2019, 3:59 PM
This revision was landed with ongoing or failed builds.Oct 26 2019, 4:13 PM
This revision was automatically updated to reflect the committed changes.