lburgazzoli commented on a change in pull request #876: Fixed kafka itests as 
@Inject is not supported in native tests
URL: https://github.com/apache/camel-quarkus/pull/876#discussion_r391073260
 
 

 ##########
 File path: 
integration-tests/kafka/src/test/java/org/apache/camel/quarkus/component/kafka/it/CamelKafkaTestResource.java
 ##########
 @@ -32,14 +31,6 @@
     private static final String CONFLUENT_PLATFORM_VERSION = "5.3.1";
 
     private KafkaContainer container;
-    private CamelMain main;
-
-    @Override
-    public void inject(Object testInstance) {
-        if (testInstance instanceof CamelKafkaTest) {
-            this.main = ((CamelKafkaTest) testInstance).main;
 
 Review comment:
   it looks strange as the pr is about the @Inject annotation

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to