From 98372aa8c493abb4bab7bba2b330bda980c3a306 Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Tue, 27 Oct 2020 21:10:04 +0300 Subject: [PATCH] tests: honor the paranoia flag in tests.ptrack.PtrackTest.test_basic_ptrack_truncate_replica --- tests/ptrack.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/ptrack.py b/tests/ptrack.py index 9004c95b..b5400620 100644 --- a/tests/ptrack.py +++ b/tests/ptrack.py @@ -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])