File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 33 name = 'testgres' ,
44 packages = ['testgres' ],
55 version = '0.1.11' ,
6- description = 'Testing utility for postgresql and it' 's extensions' ,
6+ description = 'Testing utility for postgresql and its extensions' ,
77 author = 'Ildar Musin' ,
88 author_email = 'zildermann@gmail.com' ,
99 url = 'https://github.com/postgrespro/testgres' ,
Original file line number Diff line number Diff line change @@ -492,7 +492,7 @@ def version_to_num(version):
492492 parts .append ("0" )
493493 num = 0
494494 for part in parts :
495- num = num * 100 + int (re .sub ("[^\d]" , "" , part ))
495+ num = num * 100 + int (re .sub ("[^\d]" , "" , part ))
496496 return num
497497
498498
@@ -501,6 +501,9 @@ def get_new_node(name):
501501 global last_assigned_port
502502
503503 port = last_assigned_port + 1
504+
505+ # TODO: check if port is already used
506+
504507 # found = False
505508 # while found:
506509 # # Check first that candidate port number is not included in
You can’t perform that action at this time.
0 commit comments