summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-02-20 20:19:55 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-02-20 20:19:55 +0300
commitac10bf8c7b4cbfb9421956ba8ee3005bb7f4fbfa (patch)
treed6e5320feb9bc3fe72b153d3180cf9119db70ce4
parent2d4697dbbec7dd51ed5aeebb10e543038e15a359 (diff)
downloadunit-ac10bf8c7b4cbfb9421956ba8ee3005bb7f4fbfa.tar.gz
unit-ac10bf8c7b4cbfb9421956ba8ee3005bb7f4fbfa.tar.bz2
Tests: fixed ports range.
-rw-r--r--test/test_configuration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_configuration.py b/test/test_configuration.py
index 7f81b86b..d6c9cd5c 100644
--- a/test/test_configuration.py
+++ b/test/test_configuration.py
@@ -244,7 +244,7 @@ class TestUnitConfiguration(unit.TestUnitControl):
r'eventfd.+failed',
r'failed to apply new conf'
])
- apps = 1000
+ apps = 999
conf = {
"applications":
@@ -256,7 +256,7 @@ class TestUnitConfiguration(unit.TestUnitControl):
} for a in range(apps)
},
"listeners": {
- "*:" + str(7080 + a): {
+ "*:" + str(7000 + a): {
"application": "app-" + str(a)
} for a in range(apps)
}