1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-07-16 07:14:15 +02:00

tests: minor fixes

This commit is contained in:
Grigory Smolkin
2018-04-28 18:49:34 +03:00
parent def0ac28ed
commit e3685e83b7
6 changed files with 100 additions and 31 deletions

View File

@ -171,7 +171,8 @@ class PtrackTest(ProbackupTest, unittest.TestCase):
# Physical comparison
if self.paranoia:
pgdata_restored = self.pgdata_content(node_restored.data_dir, ignore_ptrack=False)
pgdata_restored = self.pgdata_content(
node_restored.data_dir, ignore_ptrack=False)
self.compare_pgdata(pgdata, pgdata_restored)
node_restored.append_conf(
@ -1746,7 +1747,9 @@ class PtrackTest(ProbackupTest, unittest.TestCase):
try:
self.backup_node(
backup_dir, 'node', node, backup_type='ptrack',
options=["--stream", "-j 30"]
options=[
"--stream", "-j 30",
"--log-level-file=verbose"]
)
# we should die here because exception is what we expect to happen
self.assertEqual(