aldettinger commented on a change in pull request #1764:
URL: https://github.com/apache/camel-quarkus/pull/1764#discussion_r485523019



##########
File path: 
integration-tests/nats/src/test/java/org/apache/camel/quarkus/component/nats/it/NatsTestResource.java
##########
@@ -63,6 +65,20 @@
         Integer noAuthPort = noAuthContainer.getMappedPort(NATS_SERVER_PORT);
         String noAuthBrokerUrl = String.format("%s:%s", noAuthIp, noAuthPort);
 
+        // Start the container needed for the TLS authentication test
+        tlsAuthContainer = new 
GenericContainer(NATS_IMAGE).withExposedPorts(NATS_SERVER_PORT)
+                .withClasspathResourceMapping("certs", "/certs", 
BindMode.READ_ONLY)

Review comment:
       It uses `ClassLoader.getResource(...)` under the hood, so I think the 
test could be executed on platform too.




----------------------------------------------------------------
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:
[email protected]


Reply via email to