Browse Source

hotfix sqlserver e2e ci error (#16633)

dev
xiangzihao 3 months ago committed by GitHub
parent
commit
af03736c2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/resources/docker/datasource-sqlserver/docker-compose.yaml

7
dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/resources/docker/datasource-sqlserver/docker-compose.yaml

@ -36,13 +36,16 @@ services:
sqlserver: sqlserver:
condition: service_healthy condition: service_healthy
sqlserver: sqlserver:
image: alexk002/sqlserver2019_demo:1 image: mcr.microsoft.com/mssql/server:2019-latest
ports: ports:
- "1433:1433" - "1433:1433"
environment:
- MSSQL_SA_PASSWORD=OcP2020123
- ACCEPT_EULA=Y
networks: networks:
- e2e - e2e
healthcheck: 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 interval: 5s
timeout: 5s timeout: 5s
retries: 120 retries: 120

Loading…
Cancel
Save