adutra commented on PR #1495:
URL: https://github.com/apache/polaris/pull/1495#issuecomment-2840088654

   > For some reason when i disable dev.service it messes up my datasource 
injection for example replacing these confs with 
quarkus.devservices.enabled=false in the exact same place makes my test fails
   
   That is imho due to the fact that `RelationalJdbcPurgeCommandTest` indeed 
does not use your custom test resource 
`PostgresRelationalJdbcLifeCycleManagement`, and so the resulting configuration 
for that test does not contain a `quarkus.datasource.jdbc.url` property. Thus, 
DevServices was being activated.
   
   You need to run that test with an available database. I think it's just a 
matter of annotating the test with 
`@QuarkusTestResource(PostgresRelationalJdbcLifeCycleManagement.class)`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to