Skip to content

Commit

Permalink
Fix Dolt
Browse files Browse the repository at this point in the history
  • Loading branch information
fanyang01 committed Dec 19, 2024
1 parent 3c9816f commit 2bdb001
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/replication-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2bdb001

Please sign in to comment.