desiredRange for PortManager::reserve_port
Closed this issue · 1 comments
dmitry-lipetsk commented
Client can ask PortManager::reserve_port to allocate in desired (specific) range to test or avoid some specific cases.
For example, some servers can work only with ports less than 32768.
I offer to append the new argument 'desiredRange' to PortManager::reserve_port to provide this feature:
PortManager::reserve_port(desiredRange: range = None)dmitry-lipetsk commented
This idea is good but testgres does not require it for its work.
Our internal systems where this feature is required use own solution to this problem.