Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-05-25 | Go: fixing tests for Go 1.16. | Max Romanov | 2 | -0/+2 | |
In Go 1.16, the module-aware mode is enabled by default; to fall back to previous behavior, the GO111MODULE environment variable should be set to 'auto'. Details: https://golang.org/doc/go1.16 | |||||
2021-05-24 | Tests: added additional check in tests with timeouts. | Andrei Zeliankou | 1 | -76/+119 | |
2021-05-24 | Tests: test_settings_send_timeout improved. | Andrei Zeliankou | 3 | -8/+34 | |
Data length adjusts depending on socket buffer size when it's possible. | |||||
2021-05-24 | Node.js: renamed "require_shim" to "loader". | Oisin Canty | 12 | -13/+13 | |
2021-05-24 | Tests: minor fixes. | Andrei Zeliankou | 2 | -77/+25 | |
2021-05-20 | Tests: Python targets. | Oisin Canty | 7 | -32/+295 | |
2021-05-18 | Tests: added test to check port release. | Andrei Zeliankou | 1 | -0/+28 | |
2021-05-17 | Tests: fixed incorrect "--restart" mode performing. | Andrei Zeliankou | 1 | -4/+6 | |
2021-05-12 | Tests: added test for TLS with IP in SAN. | Andrei Zeliankou | 2 | -2/+30 | |
2021-05-12 | Node.js: a shim for overriding "http" and "websocket" modules. | Oisin Canty | 39 | -66/+210 | |
Also added stubs for Server.address() This was done to prevent crashes in some popular frameworks like express Supports both CommonJS and the new ES Modules system syntax e.g: app.js: const http = require('http') app.mjs: import http from "http" Usage on Node 14.16.x and higher: { "type": "external", "processes": {"spare": 0}, "working_directory": '/project', "executable": "/usr/bin/env", "arguments": [ "node", "--loader", "unit-http/require_shim.mjs" "--require", "unit-http/require_shim", "app.js" ] } Usage on Node 14.15.x and lower: { "type": "external", "processes": {"spare": 0}, "working_directory": '/project', "executable": "/usr/bin/env", "arguments": [ "node", "--require", "unit-http/require_shim", "app.js" ] } | |||||
2021-05-11 | Tests: temporary dir removed after tests execution. | Andrei Zeliankou | 1 | -0/+6 | |
2021-05-07 | Tests: added test for TLS with empty Subject field. | Andrei Zeliankou | 1 | -109/+130 | |
2021-05-07 | Tests: PHP test with getting variable before the script is loaded. | Andrei Zeliankou | 3 | -2/+18 | |
2021-05-06 | Tests: MIME filtering | Oisin Canty | 1 | -0/+170 | |
2021-05-05 | Tests: added tests for openat2() features. | Andrei Zeliankou | 6 | -8/+380 | |
2021-04-14 | Tests: fixed "skip" descriptors check flag for controller. | Andrei Zeliankou | 1 | -1/+1 | |
2021-04-08 | Tests: preserving unit.log when run without restart. | Max Romanov | 9 | -96/+94 | |
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 | 67 | -623/+698 | |
2021-04-01 | Tests: unset LC_ALL variable in Ruby encoding test. | Andrei Zeliankou | 1 | -1/+2 | |
This change is necessary to set Encoding.default_external value correctly. | |||||
2021-03-31 | Tests: removed skip_alert(). | Andrei Zeliankou | 1 | -4/+1 | |
2021-03-31 | Tests: added file descriptor leak detection. | Andrei Zeliankou | 2 | -2/+132 | |
2021-03-26 | Tests: SNI. | Andrei Zeliankou | 3 | -4/+306 | |
2021-03-26 | Tests: added test for Ruby default encoding. | Andrei Zeliankou | 2 | -0/+55 | |
2021-03-24 | Tests: fixed racing condition in websocket test 5_15. | Max Romanov | 3 | -9/+33 | |
Test case: "send a text message split into two fragments, then a continuation frame with FIN = false where there is nothing to continue, then an unfragmented text message, all sent in one chop". The test case investigates immediate connection closing since there is no message to continue. The mirror server may send a response for the first frame before the test сontinuation frame is received by the router. In this case, the test will receive a text frame before the close frame. | |||||
2021-03-22 | Java: upgrading third-party components. | Sergey A. Osokin | 1 | -1/+1 | |
2021-02-23 | Tests: fixed tests to work without openssl support. | Andrei Zeliankou | 1 | -0/+3 | |
2021-02-18 | Tests: added regex check. | Andrei Zeliankou | 3 | -0/+27 | |
2021-02-15 | Tests: clear certificates after each test. | Andrei Zeliankou | 1 | -8/+29 | |
2021-02-10 | Tests: increased timeout in wait_for_record(). | Andrei Zeliankou | 3 | -4/+4 | |
2021-02-08 | Tests: added "--restart" option. | Andrei Zeliankou | 5 | -22/+103 | |
Now Unit do not restart after each test by default. | |||||
2021-02-04 | Tests: added tests for "path" option in Python application. | Andrei Zeliankou | 2 | -0/+45 | |
2021-01-28 | Router: fixing crash after WebSocket processing. | Max Romanov | 1 | -0/+24 | |
After WebSocket processing, the application port was released with incorrect reason ("got request"), unnecessarily decrementing the active request counter. The assertion was triggered only on application removal; a test was added for this case. | |||||
2021-01-14 | Tests: added missing checks for configuration results. | Andrei Zeliankou | 11 | -56/+72 | |
2021-01-13 | Tests: added test for "procfs" option. | Andrei Zeliankou | 1 | -0/+23 | |
2021-01-13 | Tests: "language_deps" option checked more carefully. | Andrei Zeliankou | 1 | -20/+12 | |
2021-01-13 | Tests: waitformount() and waitforunmount() introduced. | Andrei Zeliankou | 1 | -0/+32 | |
2021-01-13 | Tests: style. | Andrei Zeliankou | 27 | -35/+2 | |
2021-01-12 | Tests: unit_stop() removed where possible. | Andrei Zeliankou | 6 | -70/+10 | |
Since wait_for_record() was introduced there is no need to stop Unit before parsing unit.log. | |||||
2021-01-08 | Tests: fixed test_respawn.py to act upon test processes. | Tiago Natel de Moura | 2 | -23/+32 | |
Running `test_respawn_` test cases on a machine with Unit daemon in background would fail tests because `ps ax` was used without filtering out other unit instances. This patch also prevents from tests killing other Unit processes not related to tests. | |||||
2021-01-07 | Tests: reordered asserts to avoid a test race. | Tiago Natel de Moura | 1 | -5/+9 | |
The mount points are unmounted in the main process after it detects the app process died. By testing the `tmpfs: true` first, it happens that main could start the `tmpfs: false` test case before main cleans the old process mount points. | |||||
2020-12-29 | Node.js: ServerRequest and ServerResponse compliance to Stream API. | Max Romanov | 1 | -45/+0 | |
ServerRequest now inherit stream Readable object. ServerResponse provides 'writable' property. Thanks to Wu Jian Ping (@wujjpp). This closes #274, closes #317 issues and closes #502 PR on GitHub. | |||||
2020-12-23 | Tests: ability to run unitd with specified "--user" option. | Andrei Belov | 1 | -19/+27 | |
2020-12-21 | Tests: introduced a separate cache directory for Go builds. | Tiago Natel de Moura | 2 | -0/+5 | |
The Go compiler can't detect changes to C header files when compiling CGO applications, and then this leads to Go test samples being linked with wrong libunit. This patch creates a new cache directory reused throughout the test suite. | |||||
2020-12-15 | Tests: fixed bug that disabled isolation tests. | Tiago Natel de Moura | 1 | -1/+1 | |
2020-12-12 | Tests: hyphen sign used unstead of underscore as more common. | Andrei Zeliankou | 2 | -3/+3 | |
2020-12-10 | Tests: added tests for PHP_AUTH_* variables. | Andrei Zeliankou | 2 | -0/+65 | |
2020-12-09 | Tests: TestUnit class removed. | Andrei Zeliankou | 3 | -38/+35 | |
Prerequisite checks moved to the fixture in conftest.py. | |||||
2020-12-09 | Tests: isolation check moved to the pytest_sessionstart(). | Andrei Zeliankou | 10 | -259/+197 | |
This change eliminates the need for some classes to run Unit one more time before running tests. | |||||
2020-12-08 | Tests: fixed ruby isolation. | Tiago Natel de Moura | 1 | -19/+8 | |
While alternating between running priv and unpriv tests locally, it happens that unpriv tests can't bind mount or create sub directories inside directories created by root. This patch fixes this by pointing "rootfs" to temporary directory. Now the priv and unpriv test uses the same test function. | |||||
2020-12-08 | Tests: skip_alert() converted to the fixture. | Andrei Zeliankou | 15 | -39/+32 | |