Skip to content

Commit e3999dd

Browse files
Merge branch 'postgrespro:master' into D20241206_002--local_op-run_command
2 parents 8a2dad1 + cf1d227 commit e3999dd

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

tests/test_simple.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ def test_init_unique_system_id(self):
153153

154154
with scoped_config(cache_initdb=True,
155155
cached_initdb_unique=True) as config:
156-
157156
self.assertTrue(config.cache_initdb)
158157
self.assertTrue(config.cached_initdb_unique)
159158

@@ -376,21 +375,18 @@ def test_backup_multiple(self):
376375

377376
with node.backup(xlog_method='fetch') as backup1, \
378377
node.backup(xlog_method='fetch') as backup2:
379-
380378
self.assertNotEqual(backup1.base_dir, backup2.base_dir)
381379

382380
with node.backup(xlog_method='fetch') as backup:
383381
with backup.spawn_primary('node1', destroy=False) as node1, \
384382
backup.spawn_primary('node2', destroy=False) as node2:
385-
386383
self.assertNotEqual(node1.base_dir, node2.base_dir)
387384

388385
def test_backup_exhaust(self):
389386
with get_new_node() as node:
390387
node.init(allow_streaming=True).start()
391388

392389
with node.backup(xlog_method='fetch') as backup:
393-
394390
# exhaust backup by creating new node
395391
with backup.spawn_primary():
396392
pass
@@ -778,7 +774,6 @@ def test_pg_config(self):
778774

779775
# modify setting for this scope
780776
with scoped_config(cache_pg_config=False) as config:
781-
782777
# sanity check for value
783778
self.assertFalse(config.cache_pg_config)
784779

@@ -810,7 +805,6 @@ def test_config_stack(self):
810805
self.assertEqual(c1.cached_initdb_dir, d1)
811806

812807
with scoped_config(cached_initdb_dir=d2) as c2:
813-
814808
stack_size = len(testgres.config.config_stack)
815809

816810
# try to break a stack
@@ -840,7 +834,6 @@ def test_unix_sockets(self):
840834
def test_auto_name(self):
841835
with get_new_node().init(allow_streaming=True).start() as m:
842836
with m.replicate().start() as r:
843-
844837
# check that nodes are running
845838
self.assertTrue(m.status())
846839
self.assertTrue(r.status())

tests/test_simple_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ def removing(f):
9494

9595

9696
class TestgresRemoteTests(unittest.TestCase):
97-
9897
def test_node_repr(self):
9998
with get_remote_node(conn_params=conn_params) as node:
10099
pattern = r"PostgresNode\(name='.+', port=.+, base_dir='.+'\)"
@@ -748,6 +747,7 @@ def test_pg_config(self):
748747

749748
# save right before config change
750749
c1 = get_pg_config()
750+
751751
# modify setting for this scope
752752
with scoped_config(cache_pg_config=False) as config:
753753
# sanity check for value

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy