Replies: 1 comment
-
Ended up using the H2 in-mem database for tests because they'll have to run in CI as well.
Added these artifacts (there doesn't seem to be a reactive-h2 client, so if you're using reactive-hibernate, I'm not sure what you'd do for running tests in CI):
And my resource test looks like this:
Still puzzled why Dev Services didn't spin up Mysql automagically for tests...the docs imply it would... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using Quarkus 2.6.2, I'm getting this error when I try to run a @QuarkusTest.
I only set up one rest resource endpoint so far that reads from a panache DB using Mysql and hitting the endpoint in a browser works properly. Any idea what to set for the datasource URL? Or why quarkus tests don't pick it up automagically?
I don't have any special %dev settings to get the database to start up properly with dev services. Only settings in my application.properties are:
Beta Was this translation helpful? Give feedback.
All reactions