Tests: fixed ports range.

This commit is contained in:
Andrey Zelenkov 2019-02-20 20:19:55 +03:00
parent 2d4697dbbe
commit ac10bf8c7b

View file

@ -244,7 +244,7 @@ class TestUnitConfiguration(unit.TestUnitControl):
r'eventfd.+failed', r'eventfd.+failed',
r'failed to apply new conf' r'failed to apply new conf'
]) ])
apps = 1000 apps = 999
conf = { conf = {
"applications": "applications":
@ -256,7 +256,7 @@ class TestUnitConfiguration(unit.TestUnitControl):
} for a in range(apps) } for a in range(apps)
}, },
"listeners": { "listeners": {
"*:" + str(7080 + a): { "*:" + str(7000 + a): {
"application": "app-" + str(a) "application": "app-" + str(a)
} for a in range(apps) } for a in range(apps)
} }