Disable Kafka SSL smoke test when Docker is not available

See gh-38260
This commit is contained in:
Scott Frederick 2023-11-08 13:18:12 -06:00
parent 82c9ab4cbd
commit 759d096867

View File

@ -36,7 +36,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.empty;
import static org.hamcrest.Matchers.not;
@Testcontainers
@Testcontainers(disabledWithoutDocker = true)
@SpringBootTest(classes = { SampleKafkaSslApplication.class, Producer.class, Consumer.class },
properties = { "spring.kafka.security.protocol=SSL", "spring.kafka.bootstrap-servers=localhost:9093",
"spring.kafka.ssl.bundle=client",