Skip to content

Commit c6e6f10

Browse files
PostgresNode::start is refactored
We do not translate a new node port into string when we pack it in new option dictionary.
1 parent edbdb9d commit c6e6f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: testgres/node.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ def LOCAL__raise_cannot_start_node__std(from_exception):
848848
cur_port = self.port
849849
new_port = utils.reserve_port() # can raise
850850
try:
851-
options = {'port': str(new_port)}
851+
options = {'port': new_port}
852852
self.set_auto_conf(options)
853853
except: # noqa: E722
854854
utils.release_port(new_port)

0 commit comments

Comments
 (0)