Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-01-15 | Tests: pathlib used where appropriate | Andrei Zeliankou | 1 | -16/+15 | |
Also fixed various pylint errors and style issues. | |||||
2023-11-08 | Tests: 8XXX used as default port range. | Andrei Zeliankou | 1 | -10/+10 | |
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. | |||||
2023-06-14 | Tests: get rid of classes in test files. | Andrei Zeliankou | 1 | -498/+519 | |
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-29 | Tests: more fixtures. | Andrei Zeliankou | 1 | -11/+11 | |
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. | |||||
2023-05-25 | Tests: assertion related fixes. | Andrei Zeliankou | 1 | -2/+2 | |
2023-05-25 | Tests: removed unused variables. | Andrei Zeliankou | 1 | -4/+4 | |
2023-02-21 | Tests: switched to using f-strings. | Andrei Zeliankou | 1 | -44/+39 | |
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. | |||||
2022-09-07 | Tests: minor fixes. | Andrei Zeliankou | 1 | -15/+2 | |
2022-08-11 | Fixing isolated process PID manipulation. | Max Romanov | 1 | -1/+1 | |
Registering an isolated PID in the global PID hash is wrong because it can be duplicated. Isolated processes are stored only in the children list until the response for the WHOAMI message is processed and the global PID is discovered. To remove isolated siblings, a pointer to the children list is introduced in the nxt_process_init_t struct. This closes #633 issue on GitHub. | |||||
2022-07-28 | Tests: added flags to search functions in proto.py. | Andrei Zeliankou | 1 | -4/+1 | |
Also removed unnesessary re.compile() calls. | |||||
2022-06-30 | Tests: minor improvements. | Andrei Zeliankou | 1 | -1/+1 | |
Added "go" availability check before trying to build an application. update_action() method used were possible and fixed bug with the relative path determination in test_static_chroot.py. Templates optimization and style fixes. | |||||
2022-05-09 | Tests: added more tests with reconfiguration. | Andrei Zeliankou | 1 | -21/+0 | |
2022-04-11 | Tests: style. | Andrei Zeliankou | 1 | -3/+1 | |
2022-02-15 | Tests: added test with long certificate chain. | Andrei Zeliankou | 1 | -0/+45 | |
2022-01-31 | Tests: removed TestApplicationTLS.get_server_certificate(). | Andrei Zeliankou | 1 | -4/+8 | |
distutils.version is replaced by packaging.version. Also minor style fixes. | |||||
2021-11-15 | Tests: refactored working with processes. | Andrei Zeliankou | 1 | -5/+5 | |
2021-11-09 | Tests: app prototype related fixes. | Max Romanov | 1 | -1/+1 | |
2021-10-18 | Tests: style. | Andrei Zeliankou | 1 | -2/+0 | |
2021-07-01 | Fixing multiple TLS-enabled listeners initialization. | Max Romanov | 1 | -0/+13 | |
Because of the incorrect 'last' field assignment, multiple listeners with a TLS certificate did not initialize properly, which caused a router crash while establishing a connection. Test with multiple TLS listeners added. The issue was introduced in the c548e46fe516 commit. This closes #561 issue on GitHub. | |||||
2021-05-26 | Tests: added TLS test without close notify. | Andrei Zeliankou | 1 | -0/+23 | |
2021-05-12 | Tests: added test for TLS with IP in SAN. | Andrei Zeliankou | 1 | -0/+23 | |
2021-05-07 | Tests: added test for TLS with empty Subject field. | Andrei Zeliankou | 1 | -109/+130 | |
2021-04-08 | Tests: preserving unit.log when run without restart. | Max Romanov | 1 | -5/+0 | |
Introducing "unit.log.Log" class for "unit.log" file management. Moving "findall()" function into TestApplicationProto. Using "os.kill()" to send signals. | |||||
2021-04-05 | Tests: style. | Andrei Zeliankou | 1 | -1/+2 | |
2021-02-08 | Tests: added "--restart" option. | Andrei Zeliankou | 1 | -1/+1 | |
Now Unit do not restart after each test by default. | |||||
2021-01-14 | Tests: added missing checks for configuration results. | Andrei Zeliankou | 1 | -5/+7 | |
2021-01-13 | Tests: style. | Andrei Zeliankou | 1 | -1/+0 | |
2020-12-08 | Tests: skip_alert() converted to the fixture. | Andrei Zeliankou | 1 | -2/+1 | |
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-11-16 | Tests: fixing tests interrupt in terminal. | Max Romanov | 1 | -0/+4 | |
KeyboardInterrupt re-raised. | |||||
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 1 | -33/+34 | |
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 1 | -3/+4 | |
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 1 | -212/+186 | |
2020-05-15 | Tests: style. | Andrei Zeliankou | 1 | -1/+1 | |
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 | -2/+3 | |
2020-03-10 | Tests: redirect tests output to the stdout. | Andrei Zeliankou | 1 | -6/+12 | |
2020-02-05 | Tests: added test for uploading files with SSL. | Tiago Natel de Moura | 1 | -0/+22 | |
* * * [mq]: multipart | |||||
2019-09-14 | Tests: refactored prerequisites model. | Andrey Zelenkov | 1 | -1/+1 | |
2019-07-14 | Tests: TestApplicationTLS.openssl_conf() introduced. | Andrey Zelenkov | 1 | -0/+2 | |
2019-07-14 | Tests: removed unnecessary initialization. | Andrey Zelenkov | 1 | -2/+0 | |
That could leads to the incorrect behaviour in test_tls_application_respawn. | |||||
2019-07-14 | Tests: removed unused import. | Andrey Zelenkov | 1 | -1/+0 | |
2019-07-08 | Tests: made openssl certificates more strong to avoid errors. | Andrey Zelenkov | 1 | -2/+2 | |
2019-05-30 | Tests: adjusted skipping tests. | Andrey Zelenkov | 1 | -5/+5 | |
2019-04-22 | Tests: using "pass" option instead of deprecated "application". | Valentin Bartenev | 1 | -3/+8 | |
2019-04-09 | Tests: speed up tests. | Andrey Zelenkov | 1 | -0/+12 | |
2019-04-09 | Tests: wait_for_record() introduced. | Andrey Zelenkov | 1 | -8/+0 | |
2019-04-09 | Tests: simplified module checking. | Andrey Zelenkov | 1 | -3/+1 | |
2019-03-28 | Tests: unit module refactoring. | Andrey Zelenkov | 1 | -4/+5 | |