Page MenuHomeSoftware Heritage

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

Authored by vlorentz on Dec 3 2018, 2:45 PM.

Details

Summary

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.

Diff Detail

Repository
rDSCH Scheduling utilities
Branch
get_queue_stats-memory
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 2793
Build 3508: tox-on-jenkinsJenkins
Build 3507: arc lint + arc unit