-
Notifications
You must be signed in to change notification settings - Fork 164
Description
Describe the bug
I'm a first-time contributor to Zubhub. After following all the installation instructions and setting up the codebase on my local machine, I ran make test and got the following error:
To Reproduce
Steps to reproduce the behavior:
NOTE: I assume you already have a
.envfile setup
- Go to the
.envfile in yourzubhub_backenddirectory - Change the following:
RABBITMQ_DEFAULT_USER=admin
RABBITMQ_DEFAULT_PASS=admin
CELERY_BROKER=amqp://admin:admin@rabbitmq:5672
CELERY_BACKEND=django-db
CELERY_FLOWER_USER=admin
CELERY_FLOWER_PASSWORD=adminto:
RABBITMQ_DEFAULT_USER=guest
RABBITMQ_DEFAULT_PASS=guest
CELERY_BROKER=amqp://guest:guest@rabbitmq:5672
CELERY_BACKEND=django-db
CELERY_FLOWER_USER=guest
CELERY_FLOWER_PASSWORD=guestAnd then save.
4. Still in that directory, from the terminal, run make init.
5. Run make test.
6. See error.
Note: After doing this, you can change the instances of guest back to admin and follow the steps, and you will still see the error.
Expected behavior
Tests are not expected to fail, especially because it is a fresh installation with no code changes done yet. All tests should ideally pass.
Screenshots
Here's a screenshot of logs from the Docket rabbitmq container:

And here's a screenshot from my browser when I try logging in to localhost:15672 to corroborate the errors in red lines in the screenshot of the rabbitmq Docker logs above:


