uclaacm / membership-portal

The ACM Membership Portal
Mozilla Public License 2.0
8 stars 1 forks source link

`make test` fails due to occupied Docker container port #58

Open ajtadeo opened 9 months ago

ajtadeo commented 9 months ago

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