Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

backend api tests fail with invalid postgres password #49

Closed
martinjrobins opened this issue Feb 26, 2023 · 3 comments
Closed

backend api tests fail with invalid postgres password #49

martinjrobins opened this issue Feb 26, 2023 · 3 comments
Labels
bug Something isn't working v2.0.0 Required for v2.0.0

Comments

@martinjrobins
Copy link
Collaborator

Describe the bug

running the backend api tests fails with this error:

django.db.utils.OperationalError: connection to server at "postgres" (10.89.1.86), port 5433 failed: FATAL:  password authentication failed for user "postgres"
@martinjrobins martinjrobins added bug Something isn't working v2.0.0 Required for v2.0.0 labels Feb 26, 2023
@martinjrobins
Copy link
Collaborator Author

Once I set the postgres password in docker-compose.test.yml to match what I had in .env.secret this worked ok

@mjaquiery mjaquiery mentioned this issue Feb 27, 2023
mjaquiery added a commit that referenced this issue Feb 27, 2023
- closes #48 - fixed incorrect API call endpoint
- closes #47 - added volume override for `/app/node_modules/`
- closes #49 - use `.env.secret` in tests; create `.env.secret` in GitHub tests from envvars
@mjaquiery
Copy link
Collaborator

@martinjrobins, Please confirm this was closed by #50

@martinjrobins
Copy link
Collaborator Author

fixed, thanks @mjaquiery

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working v2.0.0 Required for v2.0.0
Projects
None yet
Development

No branches or pull requests

2 participants