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):
2727set_replication = True ,
2828initdb_params = ['--data-checksums' ],
2929pg_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):
9291self .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):
106105set_replication = True ,
107106initdb_params = ['--data-checksums' ],
108107pg_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):
182180self .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):
196194set_replication = True ,
197195initdb_params = ['--data-checksums' ],
198196pg_options = {
199- 'max_wal_senders' :'2' ,
200197'checkpoint_timeout' :'300s' ,
201198'autovacuum' :'off'
202199 }
@@ -265,7 +262,6 @@ def test_delta_stream(self):
265262set_replication = True ,
266263initdb_params = ['--data-checksums' ],
267264pg_options = {
268- 'max_wal_senders' :'2' ,
269265'checkpoint_timeout' :'30s'
270266 }
271267 )
@@ -424,7 +420,6 @@ def test_delta_multiple_segments(self):
424420set_replication = True ,
425421initdb_params = ['--data-checksums' ],
426422pg_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):
506501set_replication = True ,
507502initdb_params = ['--data-checksums' ],
508503pg_options = {
509- 'max_wal_senders' :'2' ,
510504'checkpoint_timeout' :'300s'
511505 }
512506 )
@@ -598,7 +592,6 @@ def test_create_db(self):
598592initdb_params = ['--data-checksums' ],
599593pg_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):
728721initdb_params = ['--data-checksums' ],
729722pg_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):
835827base_dir = os .path .join (module_name ,fname ,'node' ),
836828set_replication = True ,initdb_params = ['--data-checksums' ],
837829pg_options = {
838- 'max_wal_senders' :'2' ,
839830'checkpoint_timeout' :'30s' ,
840831'autovacuum' :'off'
841832 }
@@ -1019,7 +1010,6 @@ def test_delta_delete(self):
10191010base_dir = os .path .join (module_name ,fname ,'node' ),
10201011set_replication = True ,initdb_params = ['--data-checksums' ],
10211012pg_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):
10991089node = self .make_simple_node (
11001090base_dir = os .path .join (module_name ,fname ,'node' ),
11011091set_replication = True ,
1102- initdb_params = ['--data-checksums' ],
1103- pg_options = {'max_wal_senders' :'2' })
1092+ initdb_params = ['--data-checksums' ])
11041093
11051094backup_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):
11581147node = self .make_simple_node (
11591148base_dir = os .path .join (module_name ,fname ,'node' ),
11601149set_replication = True ,
1161- initdb_params = ['--data-checksums' ],
1162- pg_options = {'max_wal_senders' :'2' })
1150+ initdb_params = ['--data-checksums' ])
11631151
11641152backup_dir = os .path .join (self .tmp_path ,module_name ,fname ,'backup' )
11651153