Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
4.7.0
-
None
-
Unknown
Description
I introduced an wrong condition into the CamelTestSupport a long time ago, The issue can not be detected, because camel-quarkus overrode the logic in its own class. The refactorhttps://github.com/apache/camel/commit/427c19faa5d2e5a3534f244e30355ec7134422e5 of that code revealed that mistake.
The proper condition for the Camel-quarkus test is not existence of annotation
org.apache.camel.quarkus.test.CamelQuarkusTest (which does not exist)
, but inheritance from
org.apache.camel.quarkus.test.CamelQuarkusTestSupport
Ideally the fix would use
clazz.isAssignableFrom(CamelQuarkusTestSupport.class).
Unfortunately Camel does not know about CamelQuarkusTestSupport, therefore it hoas to be solved differently.