Skip to content

Commit

Permalink
Fix test_the_same_port
Browse files Browse the repository at this point in the history
  • Loading branch information
vshepard committed Nov 18, 2024
1 parent 81c579c commit 4d50edd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/test_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,3 @@ def test_skip_ssl(self):
if isinstance(res, list):
res.sort()
assert res == [(1,), (2,)]

7 changes: 3 additions & 4 deletions tests/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -1039,10 +1039,9 @@ def test_parse_pg_version(self):
def test_the_same_port(self):
with get_new_node() as node:
node.init().start()

with get_new_node() as node2:
node2.port = node.port
node2.init().start()
with get_new_node() as node2:
node2.port = node.port
node2.init().start()


if __name__ == '__main__':
Expand Down

0 comments on commit 4d50edd

Please sign in to comment.