Skip to content

Commit d297450

Browse files
authored
Merge pull request #31046 from def-/pr-table-dropped
tests: Adapt to new reality when table in Pg source was dropped
2 parents 1b0c905 + c9d0174 commit d297450

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/pg-cdc-old-syntax/alter-table-after-source.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,4 +388,4 @@ DROP TABLE drop_table;
388388

389389
# Table is dropped
390390
! SELECT * FROM drop_table;
391-
contains:table was dropped
391+
regex:(table was dropped|incompatible schema change)

test/pg-cdc/alter-source.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ ALTER TABLE table_a REPLICA IDENTITY FULL;
6464
INSERT INTO table_a VALUES (9, 'nine');
6565

6666
! SELECT * FROM table_a;
67-
contains:table was dropped
67+
regex:(table was dropped|incompatible schema change)
6868

6969
# We are not aware that the new table_a is different
7070
! CREATE TABLE table_a FROM SOURCE mz_source (REFERENCE table_a);

test/pg-cdc/alter-table-after-source.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,4 +406,4 @@ DROP TABLE drop_table;
406406

407407
# Table is dropped
408408
! SELECT * FROM drop_table;
409-
contains:table was dropped
409+
regex:(table was dropped|incompatible schema change)

0 commit comments

Comments
 (0)