@@ -153,7 +153,6 @@ def test_init_unique_system_id(self):
153
153
154
154
with scoped_config (cache_initdb = True ,
155
155
cached_initdb_unique = True ) as config :
156
-
157
156
self .assertTrue (config .cache_initdb )
158
157
self .assertTrue (config .cached_initdb_unique )
159
158
@@ -376,21 +375,18 @@ def test_backup_multiple(self):
376
375
377
376
with node .backup (xlog_method = 'fetch' ) as backup1 , \
378
377
node .backup (xlog_method = 'fetch' ) as backup2 :
379
-
380
378
self .assertNotEqual (backup1 .base_dir , backup2 .base_dir )
381
379
382
380
with node .backup (xlog_method = 'fetch' ) as backup :
383
381
with backup .spawn_primary ('node1' , destroy = False ) as node1 , \
384
382
backup .spawn_primary ('node2' , destroy = False ) as node2 :
385
-
386
383
self .assertNotEqual (node1 .base_dir , node2 .base_dir )
387
384
388
385
def test_backup_exhaust (self ):
389
386
with get_new_node () as node :
390
387
node .init (allow_streaming = True ).start ()
391
388
392
389
with node .backup (xlog_method = 'fetch' ) as backup :
393
-
394
390
# exhaust backup by creating new node
395
391
with backup .spawn_primary ():
396
392
pass
@@ -778,7 +774,6 @@ def test_pg_config(self):
778
774
779
775
# modify setting for this scope
780
776
with scoped_config (cache_pg_config = False ) as config :
781
-
782
777
# sanity check for value
783
778
self .assertFalse (config .cache_pg_config )
784
779
@@ -810,7 +805,6 @@ def test_config_stack(self):
810
805
self .assertEqual (c1 .cached_initdb_dir , d1 )
811
806
812
807
with scoped_config (cached_initdb_dir = d2 ) as c2 :
813
-
814
808
stack_size = len (testgres .config .config_stack )
815
809
816
810
# try to break a stack
@@ -840,7 +834,6 @@ def test_unix_sockets(self):
840
834
def test_auto_name (self ):
841
835
with get_new_node ().init (allow_streaming = True ).start () as m :
842
836
with m .replicate ().start () as r :
843
-
844
837
# check that nodes are running
845
838
self .assertTrue (m .status ())
846
839
self .assertTrue (r .status ())
0 commit comments