Revision tags: 1.32.1-1, 1.32.0-1, 1.32.0 |
|
#
2616:ab2896c980ab |
| 15-Jan-2024 |
Andrei Zeliankou |
Tests: pathlib used where appropriate
Also fixed various pylint errors and style issues.
|
#
2592:e079c44a8340 |
| 08-Nov-2023 |
Andrei Zeliankou |
Tests: 8XXX used as default port range.
After the launch of the project, the testing infrastructure was shared with nginx project in some cases. To avoid port overlap, a decision was made to shift
Tests: 8XXX used as default port range.
After the launch of the project, the testing infrastructure was shared with nginx project in some cases. To avoid port overlap, a decision was made to shift the port range for Unit tests. This problem was resolved a long time ago and is no longer relevant, so it is now safe to use port 8XXX range as the default, as it is more appropriate for testing purposes.
show more ...
|
Revision tags: 1.31.1-1, 1.31.1 |
|
#
2563:6c93cbc92821 |
| 02-Oct-2023 |
Andrei Zeliankou |
Tests: added Java test with multiple headers.
This test reproduce https://github.com/nginx/unit/issues/923.
|
Revision tags: 1.31.0-1, 1.31.0 |
|
#
2491:aae60837ac20 |
| 14-Jun-2023 |
Andrei Zeliankou |
Tests: get rid of classes in test files.
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing te
Tests: get rid of classes in test files.
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.
show more ...
|
#
2488:55440e02a873 |
| 12-Jun-2023 |
Andrei Zeliankou |
Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduce
Tests: prerequisites checking reworked.
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.
show more ...
|
#
2482:88df458ead6d |
| 29-May-2023 |
Andrei Zeliankou |
Tests: more fixtures.
Common methods from applications/proto.py converted to the fixtures. sysctl check moved to the specific file where it is using. Some options moved to the constructor to have ea
Tests: more fixtures.
Common methods from applications/proto.py converted to the fixtures. sysctl check moved to the specific file where it is using. Some options moved to the constructor to have early access.
show more ...
|
#
2480:63b9663e2f8f |
| 25-May-2023 |
Andrei Zeliankou |
Tests: assertion related fixes.
|
#
2477:4633c7db7fb5 |
| 25-May-2023 |
Andrei Zeliankou |
Tests: removed unused variables.
|
Revision tags: 1.30.0-1, 1.30.0, 1.29.1-1, 1.29.1 |
|
#
2330:4b1f175f9c88 |
| 21-Feb-2023 |
Andrei Zeliankou |
Tests: switched to using f-strings.
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
Tests: switched to using f-strings.
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.
show more ...
|
Revision tags: 1.29.0-1, 1.29.0 |
|
#
2271:ccaca37def87 |
| 14-Dec-2022 |
"Sergey A. Osokin" |
Java: upgrading third-party components.
|
#
2212:975ab1624784 |
| 11-Oct-2022 |
Andrei Zeliankou |
Tests: don't try to return response when "no_recv" is True.
|
Revision tags: 1.28.0-1, 1.28.0, 1.27.0-1, 1.27.0 |
|
#
2073:bc6ad31ce286 |
| 11-Apr-2022 |
Andrei Zeliankou |
Tests: style.
|
#
2055:84cb1ec94bae |
| 12-Dec-2021 |
Andrei Zeliankou |
Tests: fixed type of applications.
|
Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0, 1.24.0-1, 1.24.0 |
|
#
1848:4bd548074e2c |
| 05-Apr-2021 |
Andrei Zeliankou |
Tests: style.
|
Revision tags: 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0 |
|
#
1736:22db875fda34 |
| 08-Dec-2020 |
Andrei Zeliankou |
Tests: skip_alert() converted to the fixture.
|
#
1735:a0e0d4f90e51 |
| 08-Dec-2020 |
Andrei Zeliankou |
Tests: utils module introduced.
|
#
1730:44912af5b3e6 |
| 06-Dec-2020 |
Andrei Zeliankou |
Tests: options moved to the separate class.
This change is necessary to separate the logic and prevent possible circular dependency.
|
Revision tags: 1.21.0-1, 1.21.0 |
|
#
1685:87018c5bab9f |
| 04-Nov-2020 |
Max Romanov |
Tests: added Java threading tests.
|
#
1654:fc7d0578e124 |
| 19-Oct-2020 |
Andrei Zeliankou |
Tests: fixed unit.log print.
|
Revision tags: 1.20.0-1, 1.20.0 |
|
#
1635:97afbb6c5a15 |
| 07-Oct-2020 |
Andrei Zeliankou |
Tests: minor fixes.
|
#
1596:b7e2d4d92624 |
| 16-Sep-2020 |
Andrei Zeliankou |
Tests: migrated to the pytest.
|
Revision tags: 1.19.0-1, 1.19.0, 1.18.0-1, 1.18.0 |
|
#
1488:6976d36be926 |
| 09-Mar-2020 |
Tiago Natel de Moura |
Refactor of process management.
The process abstraction has changed to:
setup(task, process) start(task, process_data) prefork(task, process, mp)
The prefork() occurs in the main process rig
Refactor of process management.
The process abstraction has changed to:
setup(task, process) start(task, process_data) prefork(task, process, mp)
The prefork() occurs in the main process right before fork.
The file src/nxt_main_process.c is completely free of process specific logic.
The creation of a process now supports a PROCESS_CREATED state. The The setup() function of each process can set its state to either created or ready. If created, a MSG_PROCESS_CREATED is sent to main process, where external setup can be done (required for rootfs under container).
The core processes (discovery, controller and router) doesn't need external setup, then they all proceeds to their start() function straight away.
In the case of applications, the load of the module happens at the process setup() time and The module's init() function has changed to be the start() of the process.
The module API has changed to:
setup(task, process, conf) start(task, data)
As a direct benefit of the PROCESS_CREATED message, the clone(2) of processes using pid namespaces now doesn't need to create a pipe to make the child block until parent setup uid/gid mappings nor it needs to receive the child pid.
show more ...
|
#
1477:b93d1acf81bd |
| 15-May-2020 |
Andrei Zeliankou |
Tests: style.
|
#
1467:195fe0a92670 |
| 24-Apr-2020 |
Andrei Zeliankou |
Tests: introduced module version specification in prerequisites.
|
Revision tags: 1.17.0-1, 1.17.0 |
|
#
1453:71af60a59338 |
| 14-Apr-2020 |
Andrei Zeliankou |
Tests: minor fixes and style.
|