Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
KeXiangWang committed Jul 23, 2024
1 parent c20713b commit 8aa28b0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ci/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
interval: 5s
timeout: 5s
retries: 5
command: [ "postgres", "-c", "wal_level=logical" ]
command: [ "postgres", "-c", "wal_level=logical", "-c", "max_replication_slots=30" ]

mysql:
image: mysql:8.0
Expand Down
2 changes: 1 addition & 1 deletion e2e_test/source/cdc/cdc.check.slt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ select * from enum_to_varchar order by id;
2 ok

query II
select * from orders order by id;
select * from upper_orders order by id;
----
1 happy
4 changes: 2 additions & 2 deletions e2e_test/source/cdc/cdc.load.slt
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ create table enum_to_varchar (
);

statement ok
create table orders (
create table upper_orders (
id int,
name varchar,
PRIMARY KEY (id)
Expand All @@ -255,6 +255,6 @@ create table orders (
username = '${PGUSER:$USER}',
password = '${PGPASSWORD:}',
database.name = '${PGDATABASE:postgres}',
table.name = 'Order',
table.name = 'Orders',
slot.name = 'orders'
);
6 changes: 3 additions & 3 deletions e2e_test/source/cdc/cdc.share_stream.slt
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,9 @@ CREATE TABLE person_new (
) FROM pg_source TABLE 'person';

statement ok
CREATE TABLE orders_shared (
CREATE TABLE upper_orders_shared (
id int PRIMARY KEY,
name varchar,
name varchar
) FROM pg_source TABLE 'public.Orders';

statement ok
Expand Down Expand Up @@ -517,6 +517,6 @@ select * from enum_to_varchar_shared order by id;
2 ok

query II
select * from orders_shared order by id;
select * from upper_orders_shared order by id;
----
1 happy
2 changes: 1 addition & 1 deletion e2e_test/source/cdc/postgres_cdc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ INSERT INTO list_with_null VALUES (5, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

CREATE TABLE "Orders" (
id int PRIMARY KEY,
name varchar,
name varchar
);
INSERT INTO "Orders" VALUES (1, 'happy');

0 comments on commit 8aa28b0

Please sign in to comment.