Skip to content

Commit

Permalink
[fix][io] Upgrade mssql server docker tag in DebeziumMsSqlContainer (#…
Browse files Browse the repository at this point in the history
…23318)

(cherry picked from commit a875deb)
  • Loading branch information
lhotari committed Sep 19, 2024
1 parent 36d85ea commit d3a85fa
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 @@ -37,7 +37,7 @@ public class DebeziumMsSqlContainer extends ChaosContainer<DebeziumMsSqlContaine
// "You may install and use copies of the software on any device,
// including third party shared devices, to design, develop, test and demonstrate your programs.
// You may not use the software on a device or server in a production environment."
private static final String IMAGE_NAME = "mcr.microsoft.com/mssql/server:2019-CU12-ubuntu-20.04";
private static final String IMAGE_NAME = "mcr.microsoft.com/mssql/server:2019-CU28-ubuntu-20.04";

public DebeziumMsSqlContainer(String clusterName) {
super(clusterName, IMAGE_NAME);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private ContainerExecResult runSqlCmd(String cmd, boolean useTestDb) throws Exce
log.info("Executing \"{}\"", cmd);
ContainerExecResult response = this.debeziumMsSqlContainer
.execCmd("/bin/bash", "-c",
"/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P \""
"/opt/mssql-tools18/bin/sqlcmd -C -S localhost -U sa -P \""
+ DebeziumMsSqlContainer.SA_PASSWORD + "\" -Q \""
+ (useTestDb ? "USE TestDB; " : "")
+ cmd
Expand Down

0 comments on commit d3a85fa

Please sign in to comment.