Page MenuHomeSoftware Heritage

tests: make the CeleryTestFixture also configure the resuls_backend if possible
ClosedPublic

Authored by douardda on Oct 15 2018, 11:01 AM.

Diff Detail

Repository
rDSCH Scheduling utilities
Branch
test-cfg-celery-broker-w-pifpaf
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1670
Build 2014: arc lint + arc unit

Event Timeline

As discussed on IRC, current_app.conf does not seem to have any impact. A solution is to do as I did in D518 (particularly swh/indexer/tests/__init__.py)

This revision now requires changes to proceed.Oct 15 2018, 3:02 PM

updated the implementation to use memory:// based celery urls

simplify a bit more by only setting env vars if needed

ardumont added a subscriber: ardumont.

Sounds simpler indeed.

README.md
33

setting ... environment variables up.
or
configuring...

fix typos in the readme file

This revision is now accepted and ready to land.Oct 17 2018, 4:12 PM

(Resigned valentin since we said one reviewer was ok.
Somehow i could not do that without doing the above.)

This revision was automatically updated to reflect the committed changes.