HomeSoftware Heritage

(Re-)add tests for the loader.

Description

(Re-)add tests for the loader.

When doing D682, I misunderstood how batching in the loader worked,
so I ended up making these tests useless.

This makes them do their job again, and tests more cases, such as
the threshold being reached.

It also makes the cascading more explicit by having more compact
and documented tests.

Details

Provenance
vlorentzAuthored on Dec 4 2018, 3:43 PM
vlorentzPushed on Dec 5 2018, 10:06 AM
Differential Revision
D770: (Re-)add tests for the loader.
Parents
rDLDBASE8630ebf2a5d1: Consume the iterator returned by tool_add.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 2823
Build 3553: test-and-build