Skip to content

Commit 4a05d51

Browse files
committed
[fix][io] Upgrade mssql server docker tag in DebeziumMsSqlContainer (#23318)
(cherry picked from commit a875deb)
1 parent 6d8b15d commit 4a05d51

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
@@ -100,7 +100,7 @@ private ContainerExecResult runSqlCmd(String cmd, boolean useTestDb) throws Exce
100100
log.info("Executing \"{}\"", cmd);
101101
ContainerExecResult response = this.debeziumMsSqlContainer
102102
.execCmd("/bin/bash", "-c",
103-
"/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P \""
103+
"/opt/mssql-tools18/bin/sqlcmd -C -S localhost -U sa -P \""
104104
+ DebeziumMsSqlContainer.SA_PASSWORD + "\" -Q \""
105105
+ (useTestDb ? "USE TestDB; " : "")
106106
+ cmd

0 commit comments

Comments
 (0)