Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-06-14 | Tests: get rid of classes in test files. | Andrei Zeliankou | 1 | -196/+213 | |
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable. | |||||
2023-06-12 | Tests: prerequisites checking reworked. | Andrei Zeliankou | 1 | -2/+2 | |
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check. | |||||
2023-05-25 | Tests: unified setup method usage. | Andrei Zeliankou | 1 | -2/+3 | |
To make fixtures accessible inside of setup methods in tests all these methods are renamed to the "setup_method_fixture" and decorated by autouse flag. Also all setup methods moved to the top of the files. | |||||
2023-05-25 | Tests: removed unused variables. | Andrei Zeliankou | 1 | -1/+1 | |
2023-02-21 | Tests: switched to using f-strings. | Andrei Zeliankou | 1 | -14/+14 | |
Previously, it was necessary to support older versions of Python for compatibility. F-strings were released in Python 3.6. Python 3.5 was marked as unsupported by the end of 2020, so now it's possible to start using f-strings safely for better readability and performance. | |||||
2021-11-09 | Tests: app prototype related fixes. | Max Romanov | 1 | -1/+3 | |
2021-10-18 | Tests: style. | Andrei Zeliankou | 1 | -2/+2 | |
2021-07-29 | Application restart introduced. | Max Romanov | 1 | -0/+79 | |
When processing a restart request, the router sends a QUIT message to all existing processes of the application. Then, a new shared application port is created to ensure that new requests won't be handled by the old processes of the application. | |||||
2021-04-05 | Tests: style. | Andrei Zeliankou | 1 | -0/+1 | |
2021-01-14 | Tests: added missing checks for configuration results. | Andrei Zeliankou | 1 | -1/+1 | |
2021-01-13 | Tests: style. | Andrei Zeliankou | 1 | -1/+0 | |
2020-12-06 | Tests: options moved to the separate class. | Andrei Zeliankou | 1 | -1/+1 | |
This change is necessary to separate the logic and prevent possible circular dependency. | |||||
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 1 | -3/+2 | |
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 1 | -1/+2 | |
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 1 | -80/+56 | |
2020-08-11 | Tests: skipping idle zero timeout. | Max Romanov | 1 | -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-15 | Tests: style. | Andrei Zeliankou | 1 | -1/+2 | |
2020-04-24 | Tests: introduced module version specification in prerequisites. | Andrei Zeliankou | 1 | -1/+1 | |
2020-04-14 | Tests: minor fixes and style. | Andrei Zeliankou | 1 | -3/+3 | |
2020-03-19 | Tests: test_python_procman.py refactored. | Andrei Zeliankou | 1 | -115/+58 | |
2019-09-14 | Tests: refactored prerequisites model. | Andrey Zelenkov | 1 | -1/+1 | |
2019-05-30 | Tests: adjusted skipping tests. | Andrey Zelenkov | 1 | -1/+1 | |
2019-04-09 | Tests: simplified module checking. | Andrey Zelenkov | 1 | -2/+1 | |
2019-03-28 | Tests: unit module refactoring. | Andrey Zelenkov | 1 | -4/+4 | |
2019-03-26 | Tests: style. | Andrey Zelenkov | 1 | -77/+112 | |
2019-02-27 | Tests: read_timeout option introduced. | Andrey Zelenkov | 1 | -1/+1 | |
Also, increased default select() timeout from 1s to 5s. | |||||
2018-11-15 | Tests: added command line arguments parsing in tests. | Andrey Zelenkov | 1 | -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-06 | Tests: used relative path for configuration. | Andrey Zelenkov | 1 | -17/+17 | |
2018-02-26 | Tests: more configuration tests. | Andrey Zelenkov | 1 | -0/+16 | |
2018-02-20 | Tests: reworked python tests with application. | Andrey Zelenkov | 1 | -32/+4 | |
2018-02-14 | Tests: removed unused code in unit.py. | Andrey Zelenkov | 1 | -5/+2 | |
2018-02-06 | Fixed configuration checks for "max" property. | Andrey Zelenkov | 1 | -0/+5 | |
2018-02-06 | Tests: more tests for processes. | Andrey Zelenkov | 1 | -0/+93 | |
2018-02-06 | Tests: changed process counting in test_python_procman.py. | Andrey Zelenkov | 1 | -119/+71 | |
2018-02-06 | Tests: minor fixes in test_python_procman.py. | Andrey Zelenkov | 1 | -59/+35 | |
2018-02-05 | Tests: adjusted check_version()'s. | Andrey Zelenkov | 1 | -1/+1 | |
2018-01-29 | Introducing extended app process management. | Max Romanov | 1 | -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). |