diff --git a/tests/page.py b/tests/page.py index a0a554de..b0eb79bf 100644 --- a/tests/page.py +++ b/tests/page.py @@ -711,7 +711,7 @@ class PageBackupTest(ProbackupTest, unittest.TestCase): self.assertTrue( 'INFO: Wait for LSN' in e.message and 'in archived WAL segment' in e.message and - 'could not read WAL record at' in e.message and + 'Could not read WAL record at' in e.message and 'WAL segment "{0}" is absent\n'.format( file) in e.message, '\n Unexpected Error Message: {0}\n CMD: {1}'.format( @@ -737,7 +737,7 @@ class PageBackupTest(ProbackupTest, unittest.TestCase): self.assertTrue( 'INFO: Wait for LSN' in e.message and 'in archived WAL segment' in e.message and - 'could not read WAL record at' in e.message and + 'Could not read WAL record at' in e.message and 'WAL segment "{0}" is absent\n'.format( file) in e.message, '\n Unexpected Error Message: {0}\n CMD: {1}'.format( @@ -829,7 +829,7 @@ class PageBackupTest(ProbackupTest, unittest.TestCase): self.assertTrue( 'INFO: Wait for LSN' in e.message and 'in archived WAL segment' in e.message and - 'could not read WAL record at' in e.message and + 'Could not read WAL record at' in e.message and 'incorrect resource manager data checksum in record at' in e.message and 'Possible WAL corruption. Error has occured during reading WAL segment "{0}"'.format( file) in e.message, @@ -855,7 +855,7 @@ class PageBackupTest(ProbackupTest, unittest.TestCase): self.assertTrue( 'INFO: Wait for LSN' in e.message and 'in archived WAL segment' in e.message and - 'could not read WAL record at' in e.message and + 'Could not read WAL record at' in e.message and 'incorrect resource manager data checksum in record at' in e.message and 'Possible WAL corruption. Error has occured during reading WAL segment "{0}"'.format( file) in e.message, @@ -952,7 +952,7 @@ class PageBackupTest(ProbackupTest, unittest.TestCase): self.assertTrue( 'INFO: Wait for LSN' in e.message and 'in archived WAL segment' in e.message and - 'could not read WAL record at' in e.message and + 'Could not read WAL record at' in e.message and 'WAL file is from different database system: WAL file database system identifier is' in e.message and 'pg_control database system identifier is' in e.message and 'Possible WAL corruption. Error has occured during reading WAL segment "{0}"'.format( @@ -979,7 +979,7 @@ class PageBackupTest(ProbackupTest, unittest.TestCase): self.assertTrue( 'INFO: Wait for LSN' in e.message and 'in archived WAL segment' in e.message and - 'could not read WAL record at' in e.message and + 'Could not read WAL record at' in e.message and 'WAL file is from different database system: WAL file database system identifier is' in e.message and 'pg_control database system identifier is' in e.message and 'Possible WAL corruption. Error has occured during reading WAL segment "{0}"'.format(