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
Our project (like most others) has several scala test classes. the behaviour I'm seeing when running sbt test is that our postgres container spins up, runs the tests for one class, shuts down the container, spins up another (identical) container for the next class, runs tests, shuts down etc etc for every test class (all in the same test folder). the side effect of this is our CI server is taking over an hour to build / test each project.. most of this time is waiting for postgres to start up on each new container.
is there a way to spin up the container on the first test and only when all tests in all classes have been run, then shut down?
thanks
The text was updated successfully, but these errors were encountered:
Hi,
Our project (like most others) has several scala test classes. the behaviour I'm seeing when running sbt test is that our postgres container spins up, runs the tests for one class, shuts down the container, spins up another (identical) container for the next class, runs tests, shuts down etc etc for every test class (all in the same test folder). the side effect of this is our CI server is taking over an hour to build / test each project.. most of this time is waiting for postgres to start up on each new container.
is there a way to spin up the container on the first test and only when all tests in all classes have been run, then shut down?
thanks
The text was updated successfully, but these errors were encountered: