I am trying to run unit and integration tests using micronaut, maven, jpa, and hibernate. The tests that don't need access to a db complete quickly. However, when tests run that need an inmemory db to run integration tests with controllers, it takes way longer than usual. Connections are managed and created through hikaripool.
I know this is vague but I am not sure what fix there is, since there are no errors. they take a long time but they are still built successfully. On other systems they are running in normal time(~2 mins) but mine is around ~10 min.
Aucun commentaire:
Enregistrer un commentaire