Skip to content

Commit 71715d6

Browse files
committed
Merge branch 'master' into issue_115
2 parents 7c5e799 + a42ebbf commit 71715d6

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

tests/delta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ def test_delta_nullified_heap_page_backup(self):
12781278
"LOG: File: {0} blknum 1, empty page".format(file),
12791279
content)
12801280
self.assertNotIn(
1281-
"Skipping blknum: 1 in file: {0}".format(file),
1281+
"Skipping blknum 1 in file: {0}".format(file),
12821282
content)
12831283

12841284
# Restore DELTA backup

tests/exclude.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def test_exclude_temp_tables(self):
2626
self.add_instance(backup_dir, 'node', node)
2727
node.slow_start()
2828

29-
conn = node.connect()
3029
with node.connect("postgres") as conn:
3130

3231
conn.execute(

tests/helpers/ptrack_helpers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,9 @@ def make_simple_node(
326326
node.append_conf('postgresql.auto.conf', 'max_connections = 100')
327327
node.append_conf('postgresql.auto.conf', 'shared_buffers = 10MB')
328328
node.append_conf('postgresql.auto.conf', 'fsync = off')
329-
node.append_conf('postgresql.auto.conf', 'wal_level = logical')
329+
330+
if 'wal_level' not in pg_options:
331+
node.append_conf('postgresql.auto.conf', 'wal_level = logical')
330332
node.append_conf('postgresql.auto.conf', 'hot_standby = off')
331333

332334
node.append_conf(

tests/restore.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2771,7 +2771,8 @@ def test_partial_restore_backward_compatibility_1(self):
27712771
self.output, self.cmd))
27722772
except ProbackupException as e:
27732773
self.assertIn(
2774-
"ERROR: Backup {0} has missing database_map".format(backup_id),
2774+
"ERROR: Backup {0} doesn't contain a database_map, "
2775+
"partial restore is impossible".format(backup_id),
27752776
e.message,
27762777
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(
27772778
repr(e.message), self.cmd))
@@ -2823,6 +2824,7 @@ def test_partial_restore_backward_compatibility_1(self):
28232824
node_restored_1, options=[
28242825
"--db-exclude=db5",
28252826
"--db-exclude=db14"])
2827+
28262828
pgdata_restored_1 = self.pgdata_content(node_restored_1.data_dir)
28272829

28282830
self.compare_pgdata(pgdata_restored, pgdata_restored_1)
@@ -2871,7 +2873,8 @@ def test_partial_restore_backward_compatibility_merge(self):
28712873
self.output, self.cmd))
28722874
except ProbackupException as e:
28732875
self.assertIn(
2874-
"ERROR: Backup {0} has missing database_map".format(backup_id),
2876+
"ERROR: Backup {0} doesn't contain a database_map, "
2877+
"partial restore is impossible.".format(backup_id),
28752878
e.message,
28762879
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(
28772880
repr(e.message), self.cmd))

tests/validate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3623,6 +3623,7 @@ def test_recovery_target_lsn_backup_victim(self):
36233623
# Clean after yourself
36243624
self.del_test_dir(module_name, fname)
36253625

3626+
@unittest.skip("skip")
36263627
def test_partial_validate_empty_and_mangled_database_map(self):
36273628
"""
36283629
"""
@@ -3696,6 +3697,7 @@ def test_partial_validate_empty_and_mangled_database_map(self):
36963697
# Clean after yourself
36973698
self.del_test_dir(module_name, fname)
36983699

3700+
@unittest.skip("skip")
36993701
def test_partial_validate_exclude(self):
37003702
""""""
37013703
fname = self.id().split('.')[3]
@@ -3767,6 +3769,7 @@ def test_partial_validate_exclude(self):
37673769
# Clean after yourself
37683770
self.del_test_dir(module_name, fname)
37693771

3772+
@unittest.skip("skip")
37703773
def test_partial_validate_include(self):
37713774
"""
37723775
"""

0 commit comments

Comments
 (0)