Skip to content

Commit

Permalink
Fix apache#3254 to re-enable KafkaSaslSslIT and KafkaSslIT native tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zhfeng committed Nov 2, 2021
1 parent 0644b64 commit ef98f8a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
package org.apache.camel.quarkus.kafka.sasl;

import io.quarkus.test.junit.NativeImageTest;
import org.junit.jupiter.api.Disabled;

@Disabled("https://github.com/apache/camel-quarkus/issues/2729")
@NativeImageTest
public class KafkaSaslSslIT extends KafkaSaslSslTest {
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
package org.apache.camel.quarkus.kafka.ssl;

import io.quarkus.test.junit.NativeImageTest;
import org.junit.jupiter.api.Disabled;

@Disabled("https://github.com/apache/camel-quarkus/issues/2729")
@NativeImageTest
public class KafkaSslIT extends KafkaSslTest {
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.apache.camel.quarkus.test.support.kafka.KafkaTestResource;
import org.apache.camel.util.CollectionHelper;
import org.apache.commons.io.FileUtils;
import org.apache.kafka.clients.CommonClientConfigs;
import org.testcontainers.containers.KafkaContainer;
import org.testcontainers.containers.wait.strategy.Wait;
import org.testcontainers.images.builder.Transferable;
Expand Down Expand Up @@ -66,6 +67,7 @@ public Map<String, String> start() {
container.start();

return CollectionHelper.mapOf(
"kafka." + CommonClientConfigs.BOOTSTRAP_SERVERS_CONFIG, container.getBootstrapServers(),
"camel.component.kafka.brokers", container.getBootstrapServers(),
"camel.component.kafka.security-protocol", "SSL",
"camel.component.kafka.ssl-key-password", KAFKA_KEYSTORE_PASSWORD,
Expand Down

0 comments on commit ef98f8a

Please sign in to comment.