Skip to content

Commit 12a6dcd

Browse files
committed
PGPRO-1905: check message about system id mismatch
1 parent 4870fa7 commit 12a6dcd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/page.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,8 @@ def test_page_backup_with_alien_wal_segment(self):
936936
'INFO: Wait for LSN' in e.message and
937937
'in archived WAL segment' in e.message and
938938
'could not read WAL record at' in e.message and
939+
'WAL file is from different database system: WAL file database system identifier is' in e.message and
940+
'pg_control database system identifier is' in e.message and
939941
'Possible WAL corruption. Error has occured during reading WAL segment "{0}"'.format(
940942
file_destination) in e.message,
941943
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(
@@ -961,6 +963,8 @@ def test_page_backup_with_alien_wal_segment(self):
961963
'INFO: Wait for LSN' in e.message and
962964
'in archived WAL segment' in e.message and
963965
'could not read WAL record at' in e.message and
966+
'WAL file is from different database system: WAL file database system identifier is' in e.message and
967+
'pg_control database system identifier is' in e.message and
964968
'Possible WAL corruption. Error has occured during reading WAL segment "{0}"'.format(
965969
file_destination) in e.message,
966970
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(

0 commit comments

Comments
 (0)