mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-11-24 08:52:38 +02:00
Adapt tests.replica.ReplicaTest.test_archive_replica_not_null_offset to pgpro enterprise edition
This commit is contained in:
parent
a4308f0774
commit
fd4b75abab
@ -980,15 +980,17 @@ class ReplicaTest(ProbackupTest, unittest.TestCase):
|
||||
"\n Output: {0} \n CMD: {1}".format(
|
||||
repr(self.output), self.cmd))
|
||||
except ProbackupException as e:
|
||||
self.assertIn(
|
||||
'LOG: Looking for LSN 0/4000060 in segment: 000000010000000000000004',
|
||||
# vanilla -- 0/4000060
|
||||
# pgproee -- 0/4000078
|
||||
self.assertRegex(
|
||||
e.message,
|
||||
r'LOG: Looking for LSN (0/4000060|0/4000078) in segment: 000000010000000000000004',
|
||||
"\n Unexpected Error Message: {0}\n CMD: {1}".format(
|
||||
repr(e.message), self.cmd))
|
||||
|
||||
self.assertIn(
|
||||
'INFO: Wait for LSN 0/4000060 in archived WAL segment',
|
||||
self.assertRegex(
|
||||
e.message,
|
||||
r'INFO: Wait for LSN (0/4000060|0/4000078) in archived WAL segment',
|
||||
"\n Unexpected Error Message: {0}\n CMD: {1}".format(
|
||||
repr(e.message), self.cmd))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user