You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We updated from Quarkus 3.17.4 to 3.22.2 when the issue appeared, but I have tested 3.18 and it seems the issue already exists.
We have a Quarkus Integration Test using a named Artemis Test Resource and also a Test Profile. Normally, we expect a warning about the overriding of build time property as mentioned in the documentation, but instead we encounter this error:
java.lang.IllegalStateException: Build time property cannot be changed at runtime:
- quarkus.artemis."test".url is set to yyy but it is build time fixed to xxx. Did you change the property quarkus.artemis."test".url after building the application?
As far as I understanding from debugging, this is because the Quarkus IntegrationTestUtils class forces the quarks.config.build-time-mismatch-at-runtime to "fail" if a test profile exists. Possible workaround are to remove the test profile (tested) or perhaps set this property to warn directly in the pom (I have not tested this).
I'm wondering if there is a better way around this, or perhaps this issue (Integration test with test profile) should be documented? Thank you.