Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nit] Set psql/mysql passwords to match Makefile, so make test works #52

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

stefafafan
Copy link
Collaborator

related: #51

To run tests on a local machine with Docker, the command below was originally working

$ docker compose up
$ make test

#51 set a password explicitly for mysql/psql in the Makefile, which made make test fail.

I went ahead and adjusted the docker-compose.yml so the password matches the Makefile. Now the tests pass locally.

$ make test
...
INSERT 0 3
Opening db...
Opening db...
PASS
ok  	github.com/DATA-DOG/go-txdb	0.626s

password was set here ( b7e1748 ) but the docker-compose.yml file remained to have an empty password
@stefafafan stefafafan self-assigned this Jun 7, 2023
@stefafafan stefafafan changed the title [nit] Set psql/mysql passwords to match Makefile, so make test works [nit] Set psql/mysql passwords to match Makefile, so make test works Jun 7, 2023
@stefafafan stefafafan requested a review from Yiling-J June 7, 2023 13:59
@stefafafan
Copy link
Collaborator Author

Thanks!

@stefafafan stefafafan merged commit cbdc3db into master Jun 7, 2023
@stefafafan stefafafan deleted the adjust-compose-file-pass branch June 7, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants