Tests: reducing the number of generated applications.
Each application initializes a shared port with 2 file descriptors, so the test fails because the router reaches the open files limit.
This commit is contained in:
@@ -400,7 +400,9 @@ class TestConfiguration(TestControl):
|
||||
"path": "/app",
|
||||
"module": "wsgi",
|
||||
}
|
||||
for a in range(999)
|
||||
# Larger number of applications can cause test fail with default
|
||||
# open files limit due to the lack of file descriptors.
|
||||
for a in range(100)
|
||||
},
|
||||
"listeners": {"*:7080": {"pass": "applications/app-1"}},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user