You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
As of right now, when running the integrationTests.sh file, the reset_docker function is called. This is not great on a local development machine where docker is used! (I just lost all my containers, networks and volumes that I had running locally, that includes a bunch of locally seeded databases!).
I'm guessing that all that is intended to be deleted is the stuff that is created within the tests? In that case, as it uses docker compose already, it might be best to just run docker-compose down to remove all the containers, networks and volumes created by docker-compose up. Making the thing a tad bit more isolated to just the test case.
As of right now, when running the
integrationTests.shfile, thereset_dockerfunction is called. This is not great on a local development machine where docker is used!(I just lost all my containers, networks and volumes that I had running locally, that includes a bunch of locally seeded databases!).
I'm guessing that all that is intended to be deleted is the stuff that is created within the tests? In that case, as it uses docker compose already, it might be best to just run
docker-compose downto remove all the containers, networks and volumes created bydocker-compose up. Making the thing a tad bit more isolated to just the test case.