test_write_replay: Handle all possible hypothesis inputs
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
Migrated from D2179 (view on Phabricator)