summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_procman.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-12-06Tests: options moved to the separate class.Andrei Zeliankou1-1/+1
This change is necessary to separate the logic and prevent possible circular dependency.
2020-10-19Tests: fixed unit.log print.Andrei Zeliankou1-3/+2
2020-10-07Tests: minor fixes.Andrei Zeliankou1-1/+2
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-80/+56
2020-08-11Tests: skipping idle zero timeout.Max Romanov1-0/+1
This is a temporary solution after the 'shared port' patch. The application process becomes idle immediately after creation. Even if it starts processing a request (without acknowledging it yet), it is stopped by the router because an 'out-of-idle-time' event occurs.
2020-05-15Tests: style.Andrei Zeliankou1-1/+2
2020-04-24Tests: introduced module version specification in prerequisites.Andrei Zeliankou1-1/+1
2020-04-14Tests: minor fixes and style.Andrei Zeliankou1-3/+3
2020-03-19Tests: test_python_procman.py refactored.Andrei Zeliankou1-115/+58
2019-09-14Tests: refactored prerequisites model.Andrey Zelenkov1-1/+1
2019-05-30Tests: adjusted skipping tests.Andrey Zelenkov1-1/+1
2019-04-09Tests: simplified module checking.Andrey Zelenkov1-2/+1
2019-03-28Tests: unit module refactoring.Andrey Zelenkov1-4/+4
2019-03-26Tests: style.Andrey Zelenkov1-77/+112
2019-02-27Tests: read_timeout option introduced.Andrey Zelenkov1-1/+1
Also, increased default select() timeout from 1s to 5s.
2018-11-15Tests: added command line arguments parsing in tests.Andrey Zelenkov1-1/+1
Added the following command line arguments: -d, --detailed: Show detailed output for tests Usage examples: ./test/run.py --detailed python3 test/test_access_log.py --detailed python3 test/test_access_log.py -d TestUnitAccessLog.test_access_log_ipv6 -l, --log: Save unit.log after the test execution Usage examples: ./test/run.py -l python3 test/test_access_log.py -l python3 test/test_access_log.py --log TestUnitAccessLog.test_access_log_ipv6
2018-09-06Tests: used relative path for configuration.Andrey Zelenkov1-17/+17
2018-02-26Tests: more configuration tests.Andrey Zelenkov1-0/+16
2018-02-20Tests: reworked python tests with application.Andrey Zelenkov1-32/+4
2018-02-14Tests: removed unused code in unit.py.Andrey Zelenkov1-5/+2
2018-02-06Fixed configuration checks for "max" property.Andrey Zelenkov1-0/+5
2018-02-06Tests: more tests for processes.Andrey Zelenkov1-0/+93
2018-02-06Tests: changed process counting in test_python_procman.py.Andrey Zelenkov1-119/+71
2018-02-06Tests: minor fixes in test_python_procman.py.Andrey Zelenkov1-59/+35
2018-02-05Tests: adjusted check_version()'s.Andrey Zelenkov1-1/+1
2018-01-29Introducing extended app process management.Max Romanov1-0/+237
- Pre-fork 'processes.spare' application processes; - fork more processes to keep 'processes.spare' idle processes; - fork on-demand up to 'processes.max' count; - scale down idle application processes above 'processes.spare' after 'processes.idle_timeout'; - number of concurrently started application processes also limited by 'processes.spare' (or 1, if spare is 0).