HomeSoftware Heritage

Be more careful with content generation in test_write_replay

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Be more careful with content generation in test_write_replay

When using the object_dicts() strategy, we often end up not generating any
contents; This works because the replayer.process call is within a loop,
guarded with the length of the queue.

If the queue is empty, replayer.process is never called, but the test is also
useless. So we add an assertion to that effect.

Details

Provenance
olasdAuthored on Mar 10 2020, 1:52 PM
olasdPushed on Mar 10 2020, 2:13 PM
Differential Revision
D2797: Be more careful with content generation in test_write_replay
Build Status
Buildable 11021
Build 16594: test-and-buildJenkins

Commit No Longer Exists

This commit no longer exists in the repository.