HomeSoftware Heritage

pytest_plugin: Explicitly set hostname in broker_url for celery TestApp

Description

pytest_plugin: Explicitly set hostname in broker_url for celery TestApp

Since the release of kombu 5.1.0, a warning is now issued when a hostname
is not set in the broker_url config value of a celery app.

That change makes the test_celery_monitor_ping test fails due to that
new unexpected warning.

So explicitly add localhost hostname in the broker_url value of the
celery TestApp config.

Details

Provenance
anlambertAuthored on May 25 2021, 12:15 PM
anlambertPushed on May 25 2021, 2:16 PM
Differential Revision
D5776: pytest_plugin: Explicitly set hostname in broker_url for celery TestApp
Parents
rDSCHfe9d94905a86: Fix flaky test_grab_ready_* tests
Branches
Unknown
Tags
Unknown
Build Status
Buildable 21615
Build 33589: test-and-buildJenkins console · Jenkins