Page MenuHomeSoftware Heritage

Ensure run can be called without bounds arguments
ClosedPublic

Authored by anlambert on Sep 17 2019, 3:18 PM.

Details

Summary

This fixes invocation of any indexing lister without providing any bounds arguments to the run method.
For instance, you can start a full github listing in the docker environment trough the following command:

$ docker-compose exec swh-scheduler-api swh scheduler task add list-github-incremental -p oneshot

Related T2001

Test Plan

The test implemented for the Phabricator lister in D1982 has been moved to the HttpListerTester class
as it was written to check that case.

Diff Detail

Repository
rDLS Listers
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.