objectcomputing / check-ins

Other
7 stars 7 forks source link

Reduce build times by reusing the Postgres container between tests #2398

Closed timyates closed 1 month ago

timyates commented 1 month ago

Currently we start a Postgres container in TestContainerSuite

We can improve this situation by using the Micronaut test-resources plugin.

A quick POC reduces the test time from almost 5 minutes to just over 2