Skip to content

Commit

Permalink
[pinpoint-apm#11506] Failed testcase in MSSQL testcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
emeroad committed Sep 20, 2024
1 parent ff3c046 commit 257ec10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 257ec10

Please sign in to comment.