Skip to content

Commit 8aff48f

Browse files
committed
[Issue #225] fix tests
1 parent 734e495 commit 8aff48f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tests/ptrack.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -413,16 +413,9 @@ def test_ptrack_uncommitted_xact(self):
413413
backup_dir, 'node', node, backup_type='ptrack',
414414
options=['--stream'])
415415

416-
# TODO: what's the point in taking pgdata content, then taking
417-
# backup, and the trying to compare those two? Backup issues a
418-
# checkpoint, so it will modify pgdata with close to 100% chance.
419416
if self.paranoia:
420417
pgdata = self.pgdata_content(node.data_dir)
421418

422-
self.backup_node(
423-
backup_dir, 'node', node, backup_type='ptrack',
424-
options=['--stream'])
425-
426419
node_restored = self.make_simple_node(
427420
base_dir=os.path.join(module_name, fname, 'node_restored'))
428421
node_restored.cleanup()
@@ -3954,7 +3947,7 @@ def test_ptrack_pg_resetxlog(self):
39543947
)
39553948
except ProbackupException as e:
39563949
self.assertIn(
3957-
'ERROR: LSN from ptrack_control 0/0 differs from STOP LSN of previous backup',
3950+
'ERROR: LSN from ptrack_control 0/0 differs from Start LSN of previous backup',
39583951
e.message,
39593952
'\n Unexpected Error Message: {0}\n'
39603953
' CMD: {1}'.format(repr(e.message), self.cmd))

0 commit comments

Comments
 (0)