From 2bdb001ee9dbe53054941b5336a60187fe2cd5cb Mon Sep 17 00:00:00 2001 From: Fan Yang Date: Thu, 19 Dec 2024 18:11:58 +0800 Subject: [PATCH] Fix Dolt --- .github/workflows/replication-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/replication-test.yml b/.github/workflows/replication-test.yml index fdae52c..b964251 100644 --- a/.github/workflows/replication-test.yml +++ b/.github/workflows/replication-test.yml @@ -53,9 +53,8 @@ jobs: docker run -d --name source-db -p 3306:3306 \ -v "$(pwd)/doltcfg":/etc/dolt/doltcfg.d/ \ - -e DOLT_ROOT_USER=root \ - -e DOLT_ROOT_PASSWORD=root \ - dolthub/dolt-sql-server:latest + dolthub/dolt-sql-server:latest \ + -u root -p root elif [ "${{ matrix.source }}" = "postgres" ]; then docker run -d --name source-db -p 5432:5432 \ @@ -87,6 +86,7 @@ jobs: INSERT INTO items VALUES (1, 'test1'), (2, 'test2');" elif [ "${{ matrix.source }}" = "dolt" ]; then docker exec source-db dolt sql -q " + CREATE DATABASE test; CREATE TABLE test.items (id INT PRIMARY KEY, name VARCHAR(50)); INSERT INTO test.items VALUES (1, 'test1'), (2, 'test2');" else