-
Task
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
None
-
None
Problem
The tests ChooseDefaultDatasourceConfigurationTest and DefaultDatasourceConfigurationTest ensure that the right jdbc URL is configured by default. Since the default is an H2 database with on-disk persistence, a folder camunda-h2-dbs is created relative to the tests. Meaning when running mvn clean install, in quarkus-extension, the database folder is created. The file created inside this folder can be mistakenly committed.
Solution ideas
- Currently, there only exist integration tests for Quarkus; all tests could be refactored into real unit tests, and the aforementioned tests are moved into a integration-test folder.
- The tests are being removed with the downside, that we would not discover when something is changed with the jdbc URL
- The tests are not run with the default maven profile; instead, they are assigned to a separate profile and executed with a separate stage
- The jdbc URL is overridden in the test sources; this has the downside, that if quarkus.datasource.jdbc.url is changed or removed in the future by mistake we won't be notified
Hints (Optional):
This is the controller panel for Smart Panels app
- is related to
-
CAM-11410 Camunda Engine Quarkus Extension
- Closed