Skip to content

Commit e290b76

Browse files
lhotarinikhil-ctds
authored andcommitted
[fix][io] Upgrade mssql server docker tag in DebeziumMsSqlContainer (apache#23318)
(cherry picked from commit a875deb) (cherry picked from commit 4a05d51)
1 parent 594b1cf commit e290b76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integration/src/test/java/org/apache/pulsar/tests/integration/containers/DebeziumMsSqlContainer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class DebeziumMsSqlContainer extends ChaosContainer<DebeziumMsSqlContaine
3737
// "You may install and use copies of the software on any device,
3838
// including third party shared devices, to design, develop, test and demonstrate your programs.
3939
// You may not use the software on a device or server in a production environment."
40-
private static final String IMAGE_NAME = "mcr.microsoft.com/mssql/server:2019-CU12-ubuntu-20.04";
40+
private static final String IMAGE_NAME = "mcr.microsoft.com/mssql/server:2019-CU28-ubuntu-20.04";
4141

4242
public DebeziumMsSqlContainer(String clusterName) {
4343
super(clusterName, IMAGE_NAME);

tests/integration/src/test/java/org/apache/pulsar/tests/integration/io/sources/debezium/DebeziumMsSqlSourceTester.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private ContainerExecResult runSqlCmd(String cmd, boolean useTestDb) throws Exce
103103
log.info("Executing \"{}\"", cmd);
104104
ContainerExecResult response = this.debeziumMsSqlContainer
105105
.execCmd("/bin/bash", "-c",
106-
"/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P \""
106+
"/opt/mssql-tools18/bin/sqlcmd -C -S localhost -U sa -P \""
107107
+ DebeziumMsSqlContainer.SA_PASSWORD + "\" -Q \""
108108
+ (useTestDb ? "USE TestDB; " : "")
109109
+ cmd

0 commit comments

Comments
 (0)