@@ -29,7 +29,7 @@ def test_pgpro434_1(self):
29
29
self .init_pb (backup_dir )
30
30
self .add_instance (backup_dir , 'node' , node )
31
31
self .set_archiving (backup_dir , 'node' , node )
32
- node .start ()
32
+ node .slow_start ()
33
33
34
34
node .safe_psql (
35
35
"postgres" ,
@@ -89,7 +89,7 @@ def test_pgpro434_2(self):
89
89
self .init_pb (backup_dir )
90
90
self .add_instance (backup_dir , 'node' , node )
91
91
self .set_archiving (backup_dir , 'node' , node )
92
- node .start ()
92
+ node .slow_start ()
93
93
94
94
# FIRST TIMELINE
95
95
node .safe_psql (
@@ -247,7 +247,7 @@ def test_pgpro434_3(self):
247
247
node .append_conf (
248
248
'postgresql.auto.conf' , "archive_command = '{0} %p %f'" .format (
249
249
archive_script_path ))
250
- node .start ()
250
+ node .slow_start ()
251
251
try :
252
252
self .backup_node (
253
253
backup_dir , 'node' , node ,
@@ -308,7 +308,7 @@ def test_arhive_push_file_exists(self):
308
308
f .flush ()
309
309
f .close ()
310
310
311
- node .start ()
311
+ node .slow_start ()
312
312
node .safe_psql (
313
313
"postgres" ,
314
314
"create table t_heap as select i as id, md5(i::text) as text, "
@@ -368,7 +368,7 @@ def test_arhive_push_file_exists_overwrite(self):
368
368
f .flush ()
369
369
f .close ()
370
370
371
- node .start ()
371
+ node .slow_start ()
372
372
node .safe_psql (
373
373
"postgres" ,
374
374
"create table t_heap as select i as id, md5(i::text) as text, "
@@ -423,7 +423,7 @@ def test_replica_archive(self):
423
423
self .init_pb (backup_dir )
424
424
# ADD INSTANCE 'MASTER'
425
425
self .add_instance (backup_dir , 'master' , master )
426
- master .start ()
426
+ master .slow_start ()
427
427
428
428
replica = self .make_simple_node (
429
429
base_dir = "{0}/{1}/replica" .format (module_name , fname ))
@@ -444,7 +444,7 @@ def test_replica_archive(self):
444
444
445
445
self .add_instance (backup_dir , 'replica' , replica )
446
446
self .set_archiving (backup_dir , 'replica' , replica , replica = True )
447
- replica .start ( )
447
+ replica .slow_start ( replica = True )
448
448
449
449
# Check data correctness on replica
450
450
after = replica .safe_psql ("postgres" , "SELECT * FROM t_heap" )
@@ -481,7 +481,7 @@ def test_replica_archive(self):
481
481
self .restore_node (backup_dir , 'replica' , data_dir = node .data_dir )
482
482
node .append_conf (
483
483
'postgresql.auto.conf' , 'port = {0}' .format (node .port ))
484
- node .start ()
484
+ node .slow_start ()
485
485
# CHECK DATA CORRECTNESS
486
486
after = node .safe_psql ("postgres" , "SELECT * FROM t_heap" )
487
487
self .assertEqual (before , after )
@@ -513,7 +513,7 @@ def test_replica_archive(self):
513
513
backup_dir , 'replica' , data_dir = node .data_dir , backup_id = backup_id )
514
514
node .append_conf (
515
515
'postgresql.auto.conf' , 'port = {0}' .format (node .port ))
516
- node .start ()
516
+ node .slow_start ()
517
517
# CHECK DATA CORRECTNESS
518
518
after = node .safe_psql ("postgres" , "SELECT * FROM t_heap" )
519
519
self .assertEqual (before , after )
@@ -547,7 +547,7 @@ def test_master_and_replica_parallel_archiving(self):
547
547
# ADD INSTANCE 'MASTER'
548
548
self .add_instance (backup_dir , 'master' , master )
549
549
self .set_archiving (backup_dir , 'master' , master )
550
- master .start ()
550
+ master .slow_start ()
551
551
552
552
master .psql (
553
553
"postgres" ,
@@ -573,7 +573,7 @@ def test_master_and_replica_parallel_archiving(self):
573
573
self .add_instance (backup_dir , 'replica' , replica )
574
574
# SET ARCHIVING FOR REPLICA
575
575
self .set_archiving (backup_dir , 'replica' , replica , replica = True )
576
- replica .start ( )
576
+ replica .slow_start ( replica = True )
577
577
578
578
# CHECK LOGICAL CORRECTNESS on REPLICA
579
579
after = replica .safe_psql ("postgres" , "SELECT * FROM t_heap" )
@@ -628,7 +628,7 @@ def test_master_and_replica_concurrent_archiving(self):
628
628
# ADD INSTANCE 'MASTER'
629
629
self .add_instance (backup_dir , 'master' , master )
630
630
self .set_archiving (backup_dir , 'master' , master )
631
- master .start ()
631
+ master .slow_start ()
632
632
633
633
master .psql (
634
634
"postgres" ,
@@ -655,7 +655,7 @@ def test_master_and_replica_concurrent_archiving(self):
655
655
# self.add_instance(backup_dir, 'replica', replica)
656
656
# SET ARCHIVING FOR REPLICA
657
657
# self.set_archiving(backup_dir, 'replica', replica, replica=True)
658
- replica .start ( )
658
+ replica .slow_start ( replica = True )
659
659
660
660
# CHECK LOGICAL CORRECTNESS on REPLICA
661
661
after = replica .safe_psql ("postgres" , "SELECT * FROM t_heap" )
0 commit comments