From 61b476bb312110ec2621207d5d0114f8df8e7e27 Mon Sep 17 00:00:00 2001 From: Alexey Kondratov Date: Wed, 15 Apr 2020 19:17:21 +0300 Subject: [PATCH] Correct expected error message in the test_ptrack_pg_resetxlog --- tests/ptrack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ptrack.py b/tests/ptrack.py index 309a3c44..6ca8d93c 100644 --- a/tests/ptrack.py +++ b/tests/ptrack.py @@ -3841,7 +3841,7 @@ class PtrackTest(ProbackupTest, unittest.TestCase): self.del_test_dir(module_name, fname) # @unittest.skip("skip") - @unittest.expectedFailure + # @unittest.expectedFailure def test_ptrack_pg_resetxlog(self): fname = self.id().split('.')[3] node = self.make_simple_node( @@ -3946,7 +3946,7 @@ class PtrackTest(ProbackupTest, unittest.TestCase): ) except ProbackupException as e: self.assertIn( - 'Insert error message', + 'ERROR: LSN from ptrack_control 0/0 differs from STOP LSN of previous backup', e.message, '\n Unexpected Error Message: {0}\n' ' CMD: {1}'.format(repr(e.message), self.cmd))