Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-05-25 | Go: fixing tests for Go 1.16. | Max Romanov | 1 | -0/+1 | |
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 | Node.js: renamed "require_shim" to "loader". | Oisin Canty | 1 | -3/+3 | |
2021-05-20 | Tests: Python targets. | Oisin Canty | 1 | -2/+9 | |
2021-05-12 | Tests: added test for TLS with IP in SAN. | Andrei Zeliankou | 1 | -2/+7 | |
2021-05-12 | Node.js: a shim for overriding "http" and "websocket" modules. | Oisin Canty | 1 | -3/+18 | |
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-04-08 | Tests: preserving unit.log when run without restart. | Max Romanov | 1 | -6/+12 | |
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 | 2 | -18/+22 | |
2021-03-26 | Tests: SNI. | Andrei Zeliankou | 1 | -3/+18 | |
2021-03-22 | Java: upgrading third-party components. | Sergey A. Osokin | 1 | -1/+1 | |
2021-02-10 | Tests: increased timeout in wait_for_record(). | Andrei Zeliankou | 1 | -2/+2 | |
2020-12-21 | Tests: introduced a separate cache directory for Go builds. | Tiago Natel de Moura | 1 | -0/+1 | |
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-08 | Tests: utils module introduced. | Andrei Zeliankou | 1 | -1/+1 | |
2020-12-06 | Tests: options moved to the separate class. | Andrei Zeliankou | 9 | -9/+9 | |
This change is necessary to separate the logic and prevent possible circular dependency. | |||||
2020-11-16 | Tests: fixing tests interrupt in terminal. | Max Romanov | 2 | -1/+13 | |
KeyboardInterrupt re-raised. | |||||
2020-11-10 | Python: supporting ASGI legacy protocol. | Max Romanov | 1 | -1/+2 | |
Introducing manual protocol selection for 'universal' apps and frameworks. | |||||
2020-11-10 | Tests: supporting instant app parameters in load(). | Max Romanov | 1 | -9/+13 | |
2020-11-03 | Tests: force applications to build for JVM 8. | Andrei Zeliankou | 1 | -0/+1 | |
This change is made to avoid situations when an application is compiled for a version newer than the Java module used. | |||||
2020-11-02 | Java: upgrading 3rd-party components. | Max Romanov | 1 | -1/+1 | |
2020-10-29 | Isolation: mounting of procfs by default when using "rootfs". | Tiago Natel de Moura | 1 | -0/+14 | |
2020-10-28 | Tests: improving get_application_type() and fixing its name. | Max Romanov | 6 | -27/+11 | |
This patch also enables multiversion tests running for Java. | |||||
2020-10-27 | Tests: fixed isolation detection. | Andrei Zeliankou | 2 | -4/+13 | |
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 6 | -20/+17 | |
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 10 | -16/+14 | |
2020-10-07 | Tests: fixed loading selected module version. | Valentin Bartenev | 3 | -3/+15 | |
Previously, for PHP, Ruby, and Perl the latest version was always loaded in multi-version tests. | |||||
2020-10-01 | Tests: added ASGI WebSocket. | Max Romanov | 1 | -1/+1 | |
2020-10-01 | Tests: minor fixes. | Andrei Zeliankou | 4 | -51/+7 | |
Fixed temporary dir removing. Fixed printing path to log. Module checks moved to the separate file. | |||||
2020-09-22 | Tests: introduced module name configuration. | Max Romanov | 1 | -3/+10 | |
Also fixed problem with "/" in application name. | |||||
2020-09-22 | Tests: improved response receiving while upgrade. | Max Romanov | 1 | -4/+1 | |
The patch required to process non-101 response. | |||||
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 10 | -49/+73 | |
2020-07-28 | Tests: style. | Andrei Zeliankou | 1 | -1/+1 | |
2020-05-28 | Tests: Added rootfs tests. | Tiago Natel de Moura | 2 | -30/+64 | |
2020-05-15 | Tests: style. | Andrei Zeliankou | 6 | -5/+11 | |
2020-05-14 | Configuration: URI encoding in the "pass" option. | Valentin Bartenev | 1 | -1/+4 | |
This is useful to escape "/" in path fragments. For example, in order to reference the application named "foo/bar": { "pass": "applications/foo%2Fbar" } | |||||
2020-04-03 | Tests: added notification on "read_timeout" expiration. | Andrei Zeliankou | 1 | -2/+14 | |
2020-03-27 | Tests: increase default "read_timeout" to 60s in message_read(). | Andrei Zeliankou | 1 | -1/+1 | |
2020-03-23 | Tests: increase default "read_timeout" value to 60s. | Andrei Zeliankou | 1 | -2/+2 | |
This change is necessary to avoid errors on slow hosts. Also slightly reworked argument passing to the recvall() function. | |||||
2020-03-10 | Tests: redirect tests output to the stdout. | Andrei Zeliankou | 3 | -5/+7 | |
2020-03-03 | Tests: chdir() and open() for PHP module. | Tiago Natel de Moura | 1 | -2/+2 | |
These tests ensure optimizations in the chdir calls don't break SAPI semantics. | |||||
2019-12-24 | Go: installing go module for tests into build directory. | Max Romanov | 1 | -1/+1 | |
2019-11-11 | Tests: added support for testing "user" and "group". | Tiago Natel | 8 | -15/+34 | |
2019-11-09 | Tests: fixed tests to run as root. | Tiago Natel | 1 | -2/+4 | |
- The mode of testdir was changed to allow reading from other users/groups. - The java multipart test now uploads the file into an app writable dir. - The build directory was made readable for other users. - The python environment test now uses the HOME env var instead of PWD because the latter is not set by the root shell (/bin/sh) by default. - The node `node_modules` directory now is copied into the `testdir` instead of using symlinks. | |||||
2019-11-13 | Tests: fixed websocket tests. | Andrei Zeliankou | 1 | -5/+10 | |
2019-10-23 | Tests: improved handshake for websocket tests. | Andrey Zelenkov | 1 | -6/+14 | |
2019-09-25 | Tests: fixed hanging of Go tests. | Andrey Zelenkov | 2 | -14/+24 | |
This closes #319 issue on GitHub. | |||||
2019-09-14 | Tests: refactored prerequisites model. | Andrey Zelenkov | 3 | -0/+46 | |
2019-09-16 | Tests: prepare_env() introduced. | Andrey Zelenkov | 1 | -8/+13 | |
2019-09-16 | Tests: style and minor fixes in java.py. | Andrey Zelenkov | 2 | -8/+7 | |
2019-09-05 | Java: introducing websocket support. | Max Romanov | 1 | -2/+10 | |
2019-09-03 | Tests: increased read_timeout for websockets tests. | Andrey Zelenkov | 1 | -2/+6 | |
2019-09-02 | Tests: fixed recv_bytes() in websockets.py. | Andrey Zelenkov | 1 | -9/+3 | |