Page MenuHomeSoftware Heritage

Adapt tests mocks to work with swh.-journal v0.0.19
ClosedPublic

Authored by vlorentz on Fri, Nov 8, 3:19 PM.

Details

Summary

The journal client now uses Consumer.consume instead of Consumer.poll,
so not mocking Consumer.consume resulted in infinite loops.

Diff Detail

Repository
rDSEA Archive search
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz created this revision.Fri, Nov 8, 3:19 PM
douardda accepted this revision.Fri, Nov 8, 4:46 PM
This revision is now accepted and ready to land.Fri, Nov 8, 4:46 PM
This revision was automatically updated to reflect the committed changes.