pytests/kresd: change allowed port range

Docker uses 32768 - 61000 as ephemeral ports. Don't use
this range for kresd to avoid collisions.
parent ef6e9fcd
......@@ -20,8 +20,8 @@ TEMPLATES_DIR = os.path.join(PYTESTS_DIR, 'templates')
KRESD_CONF_TEMPLATE = 'kresd.conf.j2'
KRESD_STARTUP_MSGID = 10005 # special unique ID at the start of the "test" log
KRESD_PORTDIR = '/tmp/pytest-kresd-portdir'
KRESD_TESTPORT_MIN = 10000
KRESD_TESTPORT_MAX = 49000
KRESD_TESTPORT_MIN = 1024
KRESD_TESTPORT_MAX = 32768 # avoid overlap with docker ephemeral port range
def init_portdir():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment