From 257ec105a7f095b6572ac994ce23744c711a9343 Mon Sep 17 00:00:00 2001 From: emeroad Date: Fri, 20 Sep 2024 14:56:59 +0900 Subject: [PATCH] [#11506] Failed testcase in MSSQL testcontainer --- .../pinpoint/test/plugin/spring/data/r2dbc/R2dbcMssqlTest.java | 2 +- .../navercorp/pinpoint/it/plugin/jdbc/r2dbc/MssqlServer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agent-module/agent-testweb/spring-data-r2dbc-plugin-testweb/src/test/java/com/pinpoint/test/plugin/spring/data/r2dbc/R2dbcMssqlTest.java b/agent-module/agent-testweb/spring-data-r2dbc-plugin-testweb/src/test/java/com/pinpoint/test/plugin/spring/data/r2dbc/R2dbcMssqlTest.java index 5e20ddca5d3d3..b2510e981a50b 100644 --- a/agent-module/agent-testweb/spring-data-r2dbc-plugin-testweb/src/test/java/com/pinpoint/test/plugin/spring/data/r2dbc/R2dbcMssqlTest.java +++ b/agent-module/agent-testweb/spring-data-r2dbc-plugin-testweb/src/test/java/com/pinpoint/test/plugin/spring/data/r2dbc/R2dbcMssqlTest.java @@ -31,7 +31,7 @@ public static void beforeClass() { Assumptions.assumeTrue(DockerClientFactory.instance().isDockerAvailable(), "Docker not enabled"); Assumptions.assumeFalse(DockerTestUtils.isArmDockerServer(), "ARM not supported"); - container = new MSSQLServerContainer<>("mcr.microsoft.com/mssql/server:2017-CU12"); + container = new MSSQLServerContainer<>("mcr.microsoft.com/mssql/server:2022-CU14-ubuntu-22.04"); container.acceptLicense(); container.withInitScript("mssql-init.sql"); container.start(); diff --git a/agent-module/plugins-it/spring-data-r2dbc-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/r2dbc/MssqlServer.java b/agent-module/plugins-it/spring-data-r2dbc-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/r2dbc/MssqlServer.java index aa2585966f64f..61484f7243fbe 100644 --- a/agent-module/plugins-it/spring-data-r2dbc-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/r2dbc/MssqlServer.java +++ b/agent-module/plugins-it/spring-data-r2dbc-it/src/test/java/com/navercorp/pinpoint/it/plugin/jdbc/r2dbc/MssqlServer.java @@ -36,7 +36,7 @@ public class MssqlServer implements SharedTestLifeCycle { public Properties beforeAll() { Assumptions.assumeTrue(DockerClientFactory.instance().isDockerAvailable(), "Docker not enabled"); - container = new MSSQLServerContainer<>("mcr.microsoft.com/mssql/server:2017-CU12"); + container = new MSSQLServerContainer<>("mcr.microsoft.com/mssql/server:2022-CU14-ubuntu-22.04"); container.waitingFor(Wait.forListeningPort()); container.withInitScript("mssql-init.sql"); container.start();