Page MenuHomeSoftware Heritage

test_write_replay: Handle all possible hypothesis inputs
ClosedPublic

Authored by anlambert on Fri, Oct 25, 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.

Event Timeline

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