https://forge.softwareheritage.org/source/swh-scheduler.git
Revision 9f7ab8fcdc3586daf2bd13400394c697216dce00 authored by Antoine Lambert on 25 May 2021, 10:15:04 UTC, committed by Antoine Lambert on 25 May 2021, 11:43:03 UTC
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.
1 parent fe9d949
History
Tip revision: 9f7ab8fcdc3586daf2bd13400394c697216dce00 authored by Antoine Lambert on 25 May 2021, 10:15:04 UTC
pytest_plugin: Explicitly set hostname in broker_url for celery TestApp
Tip revision: 9f7ab8f
File Mode Size
data
docs
sql
swh
.gitignore -rw-r--r-- 129 bytes
.pre-commit-config.yaml -rw-r--r-- 1.0 KB
AUTHORS -rw-r--r-- 112 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTORS -rw-r--r-- 14 bytes
LICENSE -rw-r--r-- 34.3 KB
LICENSE.Celery -rw-r--r-- 2.6 KB
MANIFEST.in -rw-r--r-- 154 bytes
Makefile -rw-r--r-- 163 bytes
README.md -rw-r--r-- 292 bytes
conftest.py -rw-r--r-- 620 bytes
mypy.ini -rw-r--r-- 750 bytes
pyproject.toml -rw-r--r-- 237 bytes
pytest.ini -rw-r--r-- 33 bytes
requirements-journal.txt -rw-r--r-- 12 bytes
requirements-simulator.txt -rw-r--r-- 21 bytes
requirements-swh.txt -rw-r--r-- 50 bytes
requirements-test.txt -rw-r--r-- 65 bytes
requirements.txt -rw-r--r-- 403 bytes
setup.cfg -rw-r--r-- 247 bytes
setup.py -rwxr-xr-x 2.5 KB
tox.ini -rw-r--r-- 1.5 KB

README.md

back to top