HomeSoftware Heritage

tests: Use production backends within the indexer tests

Description

tests: Use production backends within the indexer tests

This detected some paper cuts within cli tests for example.

The main goal is to decrease friction when actually deploying indexer related
services (backend, indexers, ...).

The pg backends tests should still be reasonably fast as it's using the
swh.core.db.pytest_plugin (which truncate tables in between tests).

Related to T2821

Details