-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement test for custom exception mappers #5225
Implement test for custom exception mappers #5225
Conversation
Please don"t use downstream issue number on upstream repository. There is no reason for that and in terms of community it's not a useful information. Please amend the commit message and the PR title. Thanks. |
Great to see contributions @AnetaCadova 👍 The failing test in ci is not related. +1 to not using downstream info, ticket number... Thinking more, the test looks good. However, is it a test for Camel Quarkus ? Like are we testing only a Quarkus feature there ? Should we expect that it's already covered in Quarkus tests ? |
8f5576c
to
3316790
Compare
@aldettinger sorry for using the downstream issue number, I removed it. And yes, the issue is covered in Quarkus tests: quarkusio/quarkus#32619. The Quarkus test also focuses on the problem with exception mappers occurring in DEV mode. My tests are focused only on the precedence of given types of exceptions, which seems to me as the main exception mappers issue. So I covered it here too. |
Many thanks for moving the subject forward @AnetaCadova
So, this specific case is not covered by Quarkus test yet ? Are we testing something specific to camel ? Or could other Quarkus Platform participants be affected ? Another subject, we generally open prs against main first, tag the pr with backport-2.13x and then do the actual backporting. Could you please change the target branch ? |
@aldettinger @AnetaCadova The idea was to test the custome-execption together with camel as that was the primary use case where the original issue in Quarkus appeared. |
@vkasala thanks for the clarification, I will add camel context to the test. @aldettinger sorry for the confusion |
So, on the top of my head this issue was first discovered in a Quarkus app quarkusio/quarkus#7883 and then the same issue was also hit in Camel Quarkus. So the question is about possibility to test the Quarkus custom-exception handling together with Camel. |
I do not know, sorry. |
I guess we should test it in the context of Also, We either need to create a new itest module for this or find an unintrusive way to introduce it to an existing one. |
yeah, non intrusive would be difficult. @AnetaCadova Maybe it could be experimented to create |
No description provided.