1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-05 13:20:31 +02:00

tests: honor the paranoia flag in tests.ptrack.PtrackTest.test_basic_ptrack_truncate_replica

This commit is contained in:
Grigory Smolkin 2020-10-27 21:10:04 +03:00
parent 6ecfa8e15f
commit 98372aa8c4

View File

@ -3118,7 +3118,9 @@ class PtrackTest(ProbackupTest, unittest.TestCase):
self.restore_node(backup_dir, 'replica', node, data_dir=node.data_dir)
pgdata_restored = self.pgdata_content(node.data_dir)
self.compare_pgdata(pgdata, pgdata_restored)
if self.paranoia:
self.compare_pgdata(pgdata, pgdata_restored)
# Clean after yourself
self.del_test_dir(module_name, fname, [master, replica])