'How to use MariaDB devservices on Quarkus tests?
I'm trying to use Quarkus with a MariaDB image for testing.
When launching a test with mvn integration-test, I get the following:
Unable to start devservices for default datasource as this datasource type (mariadb) does not support devservices
My application.properties is the following:
quarkus_profile=test
%test.quarkus.datasource.devservices=true
%test.quarkus.datasource.devservices.image-name=mariadb_image
%test.quarkus.datasource.db-kind=mariadb
%test.quarkus.datasource.username=root
%test.quarkus.datasource.password=root
Quarkus version: 2.4.1.Final
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
