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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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
32

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.