mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-09 14:45:47 +02:00
Correct expected error message in the test_ptrack_pg_resetxlog
This commit is contained in:
parent
bdff1a7492
commit
61b476bb31
@ -3841,7 +3841,7 @@ class PtrackTest(ProbackupTest, unittest.TestCase):
|
|||||||
self.del_test_dir(module_name, fname)
|
self.del_test_dir(module_name, fname)
|
||||||
|
|
||||||
# @unittest.skip("skip")
|
# @unittest.skip("skip")
|
||||||
@unittest.expectedFailure
|
# @unittest.expectedFailure
|
||||||
def test_ptrack_pg_resetxlog(self):
|
def test_ptrack_pg_resetxlog(self):
|
||||||
fname = self.id().split('.')[3]
|
fname = self.id().split('.')[3]
|
||||||
node = self.make_simple_node(
|
node = self.make_simple_node(
|
||||||
@ -3946,7 +3946,7 @@ class PtrackTest(ProbackupTest, unittest.TestCase):
|
|||||||
)
|
)
|
||||||
except ProbackupException as e:
|
except ProbackupException as e:
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
'Insert error message',
|
'ERROR: LSN from ptrack_control 0/0 differs from STOP LSN of previous backup',
|
||||||
e.message,
|
e.message,
|
||||||
'\n Unexpected Error Message: {0}\n'
|
'\n Unexpected Error Message: {0}\n'
|
||||||
' CMD: {1}'.format(repr(e.message), self.cmd))
|
' CMD: {1}'.format(repr(e.message), self.cmd))
|
||||||
|
Loading…
Reference in New Issue
Block a user