summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-08-14 15:53:58 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-08-14 15:53:58 +0300
commitac316ff7a5a29c4d3a3c965147fd3fd9401a0efc (patch)
treeefc7845c0119df97fdaa02a0102a3a96f50d6d74 /test
parent4bef4256c05c3f905e3d65e40585bba5ce0f3327 (diff)
downloadunit-ac316ff7a5a29c4d3a3c965147fd3fd9401a0efc.tar.gz
unit-ac316ff7a5a29c4d3a3c965147fd3fd9401a0efc.tar.bz2
Tests: fixed port reusing to avoid access issues.
Diffstat (limited to 'test')
-rw-r--r--test/test_php_basic.py2
-rw-r--r--test/test_python_basic.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_php_basic.py b/test/test_php_basic.py
index be5064ba..0c84f206 100644
--- a/test/test_php_basic.py
+++ b/test/test_php_basic.py
@@ -187,7 +187,7 @@ class TestPHPBasic(TestControl):
self.assertIn(
'success',
- self.conf({"*:7080": {"pass": "applications/app"}}, 'listeners'),
+ self.conf({"*:7081": {"pass": "applications/app"}}, 'listeners'),
'applications restore',
)
diff --git a/test/test_python_basic.py b/test/test_python_basic.py
index f7a7e354..e63158e5 100644
--- a/test/test_python_basic.py
+++ b/test/test_python_basic.py
@@ -200,7 +200,7 @@ class TestPythonBasic(TestControl):
self.assertIn(
'success',
- self.conf({"*:7080": {"pass": "applications/app"}}, 'listeners'),
+ self.conf({"*:7081": {"pass": "applications/app"}}, 'listeners'),
'applications restore',
)