fix: use in-memory Celery broker in tests (no Redis needed)
Configure CELERY_BROKER_URL=memory:// and CELERY_RESULT_BACKEND= cache+memory:// so tests don't try to connect to Redis. Fixes CI failures where Redis is unavailable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0702f20366
commit
64ec34debf
1 changed files with 4 additions and 0 deletions
|
|
@ -13,3 +13,7 @@ DATABASES = {
|
|||
"NAME": ":memory:",
|
||||
}
|
||||
}
|
||||
|
||||
# Disable Celery broker/result backend in tests (no Redis needed)
|
||||
CELERY_BROKER_URL = "memory://"
|
||||
CELERY_RESULT_BACKEND = "cache+memory://"
|
||||
|
|
|
|||
Loading…
Reference in a new issue