1313class DeltaTest (ProbackupTest , unittest .TestCase ):
1414
1515 # @unittest.skip("skip")
16- def test_delta_vacuum_truncate_1 (self ):
16+ def test_basic_delta_vacuum_truncate (self ):
1717 """
1818 make node, create table, take full backup,
1919 delete last 3 pages, vacuum relation,
@@ -27,7 +27,6 @@ def test_delta_vacuum_truncate_1(self):
2727 set_replication = True ,
2828 initdb_params = ['--data-checksums' ],
2929 pg_options = {
30- 'max_wal_senders' : '2' ,
3130 'checkpoint_timeout' : '300s' ,
3231 'autovacuum' : 'off' })
3332
@@ -92,7 +91,7 @@ def test_delta_vacuum_truncate_1(self):
9291 self .del_test_dir (module_name , fname )
9392
9493 # @unittest.skip("skip")
95- def test_delta_vacuum_truncate_2 (self ):
94+ def test_delta_vacuum_truncate_1 (self ):
9695 """
9796 make node, create table, take full backup,
9897 delete last 3 pages, vacuum relation,
@@ -106,7 +105,6 @@ def test_delta_vacuum_truncate_2(self):
106105 set_replication = True ,
107106 initdb_params = ['--data-checksums' ],
108107 pg_options = {
109- 'max_wal_senders' : '2' ,
110108 'checkpoint_timeout' : '300s' ,
111109 'autovacuum' : 'off'
112110 }
@@ -182,7 +180,7 @@ def test_delta_vacuum_truncate_2(self):
182180 self .del_test_dir (module_name , fname )
183181
184182 # @unittest.skip("skip")
185- def test_delta_vacuum_truncate_3 (self ):
183+ def test_delta_vacuum_truncate_2 (self ):
186184 """
187185 make node, create table, take full backup,
188186 delete last 3 pages, vacuum relation,
@@ -196,7 +194,6 @@ def test_delta_vacuum_truncate_3(self):
196194 set_replication = True ,
197195 initdb_params = ['--data-checksums' ],
198196 pg_options = {
199- 'max_wal_senders' : '2' ,
200197 'checkpoint_timeout' : '300s' ,
201198 'autovacuum' : 'off'
202199 }
@@ -265,7 +262,6 @@ def test_delta_stream(self):
265262 set_replication = True ,
266263 initdb_params = ['--data-checksums' ],
267264 pg_options = {
268- 'max_wal_senders' : '2' ,
269265 'checkpoint_timeout' : '30s'
270266 }
271267 )
@@ -424,7 +420,6 @@ def test_delta_multiple_segments(self):
424420 set_replication = True ,
425421 initdb_params = ['--data-checksums' ],
426422 pg_options = {
427- 'max_wal_senders' : '2' ,
428423 'fsync' : 'off' ,
429424 'shared_buffers' : '1GB' ,
430425 'maintenance_work_mem' : '1GB' ,
@@ -506,7 +501,6 @@ def test_delta_vacuum_full(self):
506501 set_replication = True ,
507502 initdb_params = ['--data-checksums' ],
508503 pg_options = {
509- 'max_wal_senders' : '2' ,
510504 'checkpoint_timeout' : '300s'
511505 }
512506 )
@@ -598,7 +592,6 @@ def test_create_db(self):
598592 initdb_params = ['--data-checksums' ],
599593 pg_options = {
600594 'max_wal_size' : '10GB' ,
601- 'max_wal_senders' : '2' ,
602595 'checkpoint_timeout' : '5min' ,
603596 'autovacuum' : 'off'
604597 }
@@ -728,7 +721,6 @@ def test_exists_in_previous_backup(self):
728721 initdb_params = ['--data-checksums' ],
729722 pg_options = {
730723 'max_wal_size' : '10GB' ,
731- 'max_wal_senders' : '2' ,
732724 'checkpoint_timeout' : '5min' ,
733725 'autovacuum' : 'off'
734726 }
@@ -835,7 +827,6 @@ def test_alter_table_set_tablespace_delta(self):
835827 base_dir = os .path .join (module_name , fname , 'node' ),
836828 set_replication = True , initdb_params = ['--data-checksums' ],
837829 pg_options = {
838- 'max_wal_senders' : '2' ,
839830 'checkpoint_timeout' : '30s' ,
840831 'autovacuum' : 'off'
841832 }
@@ -1019,7 +1010,6 @@ def test_delta_delete(self):
10191010 base_dir = os .path .join (module_name , fname , 'node' ),
10201011 set_replication = True , initdb_params = ['--data-checksums' ],
10211012 pg_options = {
1022- 'max_wal_senders' : '2' ,
10231013 'checkpoint_timeout' : '30s' ,
10241014 'autovacuum' : 'off'
10251015 }
@@ -1099,8 +1089,7 @@ def test_delta_corruption_heal_via_ptrack_1(self):
10991089 node = self .make_simple_node (
11001090 base_dir = os .path .join (module_name , fname , 'node' ),
11011091 set_replication = True ,
1102- initdb_params = ['--data-checksums' ],
1103- pg_options = {'max_wal_senders' : '2' })
1092+ initdb_params = ['--data-checksums' ])
11041093
11051094 backup_dir = os .path .join (self .tmp_path , module_name , fname , 'backup' )
11061095
@@ -1158,8 +1147,7 @@ def test_page_corruption_heal_via_ptrack_2(self):
11581147 node = self .make_simple_node (
11591148 base_dir = os .path .join (module_name , fname , 'node' ),
11601149 set_replication = True ,
1161- initdb_params = ['--data-checksums' ],
1162- pg_options = {'max_wal_senders' : '2' })
1150+ initdb_params = ['--data-checksums' ])
11631151
11641152 backup_dir = os .path .join (self .tmp_path , module_name , fname , 'backup' )
11651153
0 commit comments