HomeSoftware Heritage

Fallback for get_queue_stats() when using memory:// broker.

Description

Fallback for get_queue_stats() when using memory:// broker.

When running tests, RabbitMQ is not used, so get_queue_stats()
does not work.

We did not notice this issue before because pytest skipped
importing modules that define tasks with a queue, so this
function was never actually called while running tests.

Details

Provenance
vlorentzAuthored on Dec 3 2018, 2:44 PM
vlorentzPushed on Dec 3 2018, 3:53 PM
Differential Revision
D763: Fallback for get_queue_stats() when using memory:// broker.
Parents
rDSCH042edee84c64: README: fix a typo
Branches
Unknown
Tags
Unknown
Build Status
Buildable 2795
Build 3510: test-and-build