Skip to content

Commit 290df26

Browse files
committed
tests: minor fixes
1 parent 6d8bad7 commit 290df26

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

tests/external.py

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,7 @@ def test_backup_multiple_external(self):
253253
fname = self.id().split('.')[3]
254254
node = self.make_simple_node(
255255
base_dir=os.path.join(module_name, fname, 'node'),
256-
initdb_params=['--data-checksums'],
257-
pg_options={
258-
'max_wal_senders': '2'})
256+
initdb_params=['--data-checksums'])
259257

260258
backup_dir = os.path.join(self.tmp_path, module_name, fname, 'backup')
261259
self.init_pb(backup_dir)
@@ -326,9 +324,7 @@ def test_external_backward_compatibility(self):
326324
base_dir=os.path.join(module_name, fname, 'node'),
327325
set_replication=True,
328326
initdb_params=['--data-checksums'],
329-
pg_options={
330-
'max_wal_senders': '2',
331-
'autovacuum': 'off'})
327+
pg_options={'autovacuum': 'off'})
332328

333329
self.init_pb(backup_dir, old_binary=True)
334330
self.show_pb(backup_dir)
@@ -429,9 +425,7 @@ def test_external_backward_compatibility_merge_1(self):
429425
base_dir=os.path.join(module_name, fname, 'node'),
430426
set_replication=True,
431427
initdb_params=['--data-checksums'],
432-
pg_options={
433-
'max_wal_senders': '2',
434-
'autovacuum': 'off'})
428+
pg_options={'autovacuum': 'off'})
435429

436430
self.init_pb(backup_dir, old_binary=True)
437431
self.show_pb(backup_dir)
@@ -523,9 +517,7 @@ def test_external_backward_compatibility_merge_2(self):
523517
base_dir=os.path.join(module_name, fname, 'node'),
524518
set_replication=True,
525519
initdb_params=['--data-checksums'],
526-
pg_options={
527-
'max_wal_senders': '2',
528-
'autovacuum': 'off'})
520+
pg_options={'autovacuum': 'off'})
529521

530522
self.init_pb(backup_dir, old_binary=True)
531523
self.show_pb(backup_dir)
@@ -641,12 +633,10 @@ def test_external_merge(self):
641633
base_dir=os.path.join(module_name, fname, 'node'),
642634
set_replication=True,
643635
initdb_params=['--data-checksums'],
644-
pg_options={
645-
'max_wal_senders': '2',
646-
'autovacuum': 'off'})
636+
pg_options={'autovacuum': 'off'})
647637

648638
self.init_pb(backup_dir)
649-
self.add_instance(backup_dir, 'node', node)
639+
self.add_instance(backup_dir, 'node', node, old_binary=True)
650640
node.slow_start()
651641

652642
node.pgbench_init(scale=5)

0 commit comments

Comments
 (0)