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

make test fails due to occupied Docker container port #58

Open
ajtadeo opened this issue Dec 1, 2023 · 0 comments
Open

make test fails due to occupied Docker container port #58

ajtadeo opened this issue Dec 1, 2023 · 0 comments

Comments

@ajtadeo
Copy link

ajtadeo commented Dec 1, 2023

Whether the tests succeed or fail, I have to manually stop the docker container to rerun the tests. See the below error message:

$ make test
docker-compose --profile test up --abort-on-container-exit
[+] Running 2/0
 ✔ Container membership-portal-postgres-1      Created                            0.0s 
 ✔ Container membership-portal-test-backend-1  Created                            0.0s 
Attaching to membership-portal-postgres-1, membership-portal-test-backend-1
Error response from daemon: driver failed programming external connectivity on endpoint membership-portal-test-backend-1 (0eea0d2d69c590f62f2455b7d70fff32e92d61f14e08185039d4f4b96f148d47): Bind for 0.0.0.0:8080 failed: port is already allocated
make: *** [test] Error 1
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

No branches or pull requests

1 participant