jdk8_301 TLS12 jdbc handling

Related to eeeedda5cee470beb8ca8c4a76574d7c58914e9b
This commit is contained in:
Christian Tzolov
2021-09-28 12:03:39 +02:00
committed by Artem Bilan
parent b5d3435e6d
commit 54d9f29f41

View File

@@ -20,7 +20,6 @@ import java.time.Duration;
import com.zaxxer.hikari.HikariDataSource;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.testcontainers.containers.GenericContainer;
@@ -43,7 +42,6 @@ import static org.awaitility.Awaitility.await;
@Tag("integration")
@Testcontainers
@Disabled
public class CdcBootStarterIntegrationTest {
private static final String DATABASE_NAME = "inventory";
@@ -66,7 +64,7 @@ public class CdcBootStarterIntegrationTest {
MAPPED_PORT = String.valueOf(debeziumMySQL.getMappedPort(3306));
jdbcTemplate = jdbcTemplate(
"com.mysql.cj.jdbc.Driver",
"jdbc:mysql://localhost:" + MAPPED_PORT + "/" + DATABASE_NAME,
"jdbc:mysql://localhost:" + MAPPED_PORT + "/" + DATABASE_NAME + "?enabledTLSProtocols=TLSv1.2",
"root",
"debezium");
}