Skip to content

Commit 98372aa

Browse files
committed
tests: honor the paranoia flag in tests.ptrack.PtrackTest.test_basic_ptrack_truncate_replica
1 parent 6ecfa8e commit 98372aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/ptrack.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3118,7 +3118,9 @@ def test_basic_ptrack_truncate_replica(self):
31183118
self.restore_node(backup_dir, 'replica', node, data_dir=node.data_dir)
31193119

31203120
pgdata_restored = self.pgdata_content(node.data_dir)
3121-
self.compare_pgdata(pgdata, pgdata_restored)
3121+
3122+
if self.paranoia:
3123+
self.compare_pgdata(pgdata, pgdata_restored)
31223124

31233125
# Clean after yourself
31243126
self.del_test_dir(module_name, fname, [master, replica])

0 commit comments

Comments
 (0)