diff --git a/agent-module/plugins-it/jtds-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/jtds/JtdsConnectionIT.java b/agent-module/plugins-it/jtds-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/jtds/JtdsConnectionIT.java index 409d4eec4c980..bda9bccda2501 100644 --- a/agent-module/plugins-it/jtds-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/jtds/JtdsConnectionIT.java +++ b/agent-module/plugins-it/jtds-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/jtds/JtdsConnectionIT.java @@ -66,7 +66,7 @@ public class JtdsConnectionIT { public static final JdbcDatabaseContainer mssqlserver = newMSSQLServerContainer(logger.getName()); public static JdbcDatabaseContainer newMSSQLServerContainer(String loggerName) { - final MSSQLServerContainer mssqlServerContainer = new MSSQLServerContainer<>("mcr.microsoft.com/mssql/server:2019-latest"); + final MSSQLServerContainer mssqlServerContainer = new MSSQLServerContainer<>("mcr.microsoft.com/mssql/server:2022-CU14-ubuntu-22.04"); mssqlServerContainer.acceptLicense(); mssqlServerContainer.withInitScript("sql/init_mssql.sql"); mssqlServerContainer.withPassword(JtdsITConstants.PASSWORD); diff --git a/agent-module/plugins-it/jtds-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/jtds/MsSqlServer.java b/agent-module/plugins-it/jtds-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/jtds/MsSqlServer.java index e01938d0dc1f7..51b5b224c8644 100644 --- a/agent-module/plugins-it/jtds-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/jtds/MsSqlServer.java +++ b/agent-module/plugins-it/jtds-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/jtds/MsSqlServer.java @@ -19,7 +19,7 @@ public class MsSqlServer implements SharedTestLifeCycle { public Properties beforeAll() { Assume.assumeTrue("Docker not enabled", DockerClientFactory.instance().isDockerAvailable()); - mssqlserver = new MSSQLServerContainer<>("mcr.microsoft.com/mssql/server:2019-latest"); + mssqlserver = new MSSQLServerContainer<>("mcr.microsoft.com/mssql/server:2022-CU14-ubuntu-22.04"); mssqlserver.acceptLicense(); mssqlserver.withInitScript("sql/init_mssql.sql"); mssqlserver.withPassword(JtdsITConstants.PASSWORD); diff --git a/agent-module/plugins-it/mssql-jdbc-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/mssql/MSSQLServerContainerFactory.java b/agent-module/plugins-it/mssql-jdbc-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/mssql/MSSQLServerContainerFactory.java index c3c45db19b6e0..85cae27213c8f 100644 --- a/agent-module/plugins-it/mssql-jdbc-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/mssql/MSSQLServerContainerFactory.java +++ b/agent-module/plugins-it/mssql-jdbc-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/mssql/MSSQLServerContainerFactory.java @@ -29,7 +29,7 @@ private MSSQLServerContainerFactory() { } public static MSSQLServerContainer newMSSQLServerContainer(String loggerName) { - final MSSQLServerContainer mssqlServerContainer = new MSSQLServerContainer<>("mcr.microsoft.com/mssql/server:2017-CU12"); + final MSSQLServerContainer mssqlServerContainer = new MSSQLServerContainer<>("mcr.microsoft.com/mssql/server:2022-CU14-ubuntu-22.04"); mssqlServerContainer.acceptLicense(); mssqlServerContainer.withInitScript("sql/init_mssql.sql");