From af03736c2a1fa2d1a0e04fd8cd359a5c39da653a Mon Sep 17 00:00:00 2001 From: xiangzihao <460888207@qq.com> Date: Thu, 19 Sep 2024 21:54:15 +0800 Subject: [PATCH] hotfix sqlserver e2e ci error (#16633) --- .../docker/datasource-sqlserver/docker-compose.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/resources/docker/datasource-sqlserver/docker-compose.yaml b/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/resources/docker/datasource-sqlserver/docker-compose.yaml index 0e85692395..26e76d26b6 100644 --- a/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/resources/docker/datasource-sqlserver/docker-compose.yaml +++ b/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/resources/docker/datasource-sqlserver/docker-compose.yaml @@ -36,13 +36,16 @@ services: sqlserver: condition: service_healthy sqlserver: - image: alexk002/sqlserver2019_demo:1 + image: mcr.microsoft.com/mssql/server:2019-latest ports: - "1433:1433" + environment: + - MSSQL_SA_PASSWORD=OcP2020123 + - ACCEPT_EULA=Y networks: - e2e healthcheck: - test: /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P OcP2020123 -Q "SELECT 1" + test: /opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P OcP2020123 -Q "SELECT 1" -C interval: 5s timeout: 5s retries: 120