@@ -631,8 +631,7 @@ def test_backward_compatibility_merge_1(self):
631
631
node .pgbench_init (scale = 20 )
632
632
633
633
# FULL backup with OLD binary
634
- self .backup_node (
635
- backup_dir , 'node' , node , old_binary = True )
634
+ self .backup_node (backup_dir , 'node' , node , old_binary = True )
636
635
637
636
pgbench = node .pgbench (
638
637
stdout = subprocess .PIPE ,
@@ -643,8 +642,7 @@ def test_backward_compatibility_merge_1(self):
643
642
644
643
# PAGE1 backup with OLD binary
645
644
self .backup_node (
646
- backup_dir , 'node' , node ,
647
- backup_type = 'page' , old_binary = True , options = ['--log-level-file=LOG' ])
645
+ backup_dir , 'node' , node , backup_type = 'page' , old_binary = True )
648
646
649
647
node .safe_psql (
650
648
'postgres' ,
@@ -655,20 +653,13 @@ def test_backward_compatibility_merge_1(self):
655
653
'VACUUM pgbench_accounts' )
656
654
657
655
# PAGE2 backup with OLD binary
658
- self .backup_node (
659
- backup_dir , 'node' , node ,
660
- backup_type = 'page' , old_binary = True , options = ['--log-level-file=LOG' ])
661
-
662
- # PAGE3 backup with OLD binary
663
656
backup_id = self .backup_node (
664
- backup_dir , 'node' , node ,
665
- backup_type = 'page' , old_binary = True , options = ['--log-level-file=LOG' ])
657
+ backup_dir , 'node' , node , backup_type = 'page' , old_binary = True )
666
658
667
659
pgdata = self .pgdata_content (node .data_dir )
668
660
669
661
# merge chain created by old binary with new binary
670
- output = self .merge_backup (
671
- backup_dir , "node" , backup_id , options = ['--log-level-file=LOG' ])
662
+ output = self .merge_backup (backup_dir , "node" , backup_id )
672
663
673
664
# check that in-place is disabled
674
665
self .assertIn (
@@ -680,8 +671,7 @@ def test_backward_compatibility_merge_1(self):
680
671
base_dir = os .path .join (module_name , fname , 'node_restored' ))
681
672
node_restored .cleanup ()
682
673
683
- self .restore_node (
684
- backup_dir , 'node' , node_restored , options = ["-j" , "4" ])
674
+ self .restore_node (backup_dir , 'node' , node_restored )
685
675
686
676
pgdata_restored = self .pgdata_content (node_restored .data_dir )
687
677
self .compare_pgdata (pgdata , pgdata_restored )
0 commit comments