funidata / hybridilusmu

Hybridityöskentelyn tukisovellus Slack-integraatiolla, HY Ohtuprojekti 2021 syksy
https://funidata.github.io/hybridilusmu/
1 stars 0 forks source link

Fix unit test setup in CI #68

Closed joonashak closed 1 year ago

joonashak commented 1 year ago

Unit tests fail often on CI because the container is not up. I did not have time to debug this but I suspect that the database container is not ready to accept connections when Hybridilusmu starts and the program fails because of that.

The program should wait for the database to come online. Alternatively, specifying restart: unless-stopped or similar in Compose configuration might be a viable hack.

joonashak commented 1 year ago

Closed as stale.