Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2020-12-08 | Tests: utils module introduced. | Andrei Zeliankou | 10 | -57/+59 | |
2020-12-06 | Tests: options moved to the separate class. | Andrei Zeliankou | 39 | -41/+62 | |
This change is necessary to separate the logic and prevent possible circular dependency. | |||||
2020-11-17 | Router: matching regular expressions support. | Axel Duch | 1 | -0/+42 | |
2020-11-19 | Tests: added tests for a "discard_unsafe_fields" option. | Andrei Zeliankou | 2 | -0/+47 | |
2020-11-19 | Tests: style. | Andrei Zeliankou | 1 | -36/+40 | |
2020-11-16 | Tests: tmpfs automount. | Tiago Natel de Moura | 2 | -3/+29 | |
2020-11-16 | Tests: fixing tests interrupt in terminal. | Max Romanov | 10 | -9/+52 | |
KeyboardInterrupt re-raised. | |||||
2020-11-16 | Tests: making available versions unique. | Max Romanov | 1 | -4/+3 | |
2020-11-12 | Tests: removed test case that reuses rootfs path. | Tiago Natel de Moura | 1 | -4/+0 | |
Different applications cannot reuse the same rootfs path if not using namespaces because of globally visible builtin mount points. | |||||
2020-11-12 | Tests: added a test for "body_buffer_size" option. | Andrei Zeliankou | 1 | -0/+38 | |
2020-11-11 | Tests: added a test for fastcgi_finish_request() function. | Andrei Zeliankou | 2 | -0/+37 | |
2020-11-10 | Python: supporting ASGI legacy protocol. | Max Romanov | 4 | -1/+58 | |
Introducing manual protocol selection for 'universal' apps and frameworks. | |||||
2020-11-10 | Tests: supporting instant app parameters in load(). | Max Romanov | 3 | -89/+37 | |
2020-11-06 | Tests: fixing racing condition in ASGI threads test. | Max Romanov | 1 | -5/+5 | |
ASGI threads read all the requests from the queue before start processing it. This why test need to wait a little to let the ASGI thread start request processing and block. In virtual environment any thread or process may be delayed and only method to avoid racing is a reasonable sleep increase. | |||||
2020-11-05 | Tests: added Perl threading tests. | Max Romanov | 2 | -0/+52 | |
2020-11-05 | Tests: added Ruby threading tests. | Max Romanov | 2 | -0/+54 | |
2020-11-05 | Tests: added Java threading tests. | Max Romanov | 2 | -0/+73 | |
2020-11-05 | Tests: added Python threading tests. | Max Romanov | 4 | -0/+124 | |
2020-11-03 | Tests: disabled detailed output by default. | Andrei Zeliankou | 1 | -1/+1 | |
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 | 6 | -79/+158 | |
2020-10-29 | Tests: added new ruby isolation test without namespaces. | Tiago Natel de Moura | 1 | -1/+20 | |
2020-10-28 | Tests: improving get_application_type() and fixing its name. | Max Romanov | 7 | -28/+14 | |
This patch also enables multiversion tests running for Java. | |||||
2020-10-27 | Tests: fixed isolation detection. | Andrei Zeliankou | 3 | -27/+112 | |
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 44 | -488/+427 | |
2020-10-06 | PHP: compatibility with 8.0.0 RC1. | Valentin Bartenev | 3 | -10/+10 | |
This closes #474 PR on GitHub. | |||||
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 46 | -95/+125 | |
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-07 | Router: fixed "not empty" pattern matching. | Valentin Bartenev | 1 | -0/+15 | |
The "!" pattern should be opposite to "", i.e. match only non-empty values. But after 3c00af54b937 it was equal to "!*", which is wrong. | |||||
2020-10-06 | Tests: fixed tests to run as root. | Andrei Zeliankou | 2 | -8/+4 | |
2020-10-05 | Tests: pretty versions output for multi-version tests. | Max Romanov | 1 | -3/+3 | |
2020-10-05 | Tests: added websocket test with long length. | Andrei Zeliankou | 1 | -0/+12 | |
2020-10-05 | Tests: added ASGI Lifespan. | Andrei Zeliankou | 5 | -0/+114 | |
2020-10-01 | Tests: added ASGI HTTP applications. | Max Romanov | 9 | -0/+598 | |
2020-10-01 | Tests: added ASGI WebSocket. | Max Romanov | 4 | -1/+1476 | |
2020-09-09 | PHP: fixed "rootfs" isolation dependency on system mounts. | Tiago Natel de Moura | 2 | -51/+30 | |
2020-10-01 | Tests: minor fixes. | Andrei Zeliankou | 10 | -76/+89 | |
Fixed temporary dir removing. Fixed printing path to log. Module checks moved to the separate file. | |||||
2020-09-30 | Tests: fixed test_static_space_in_name. | Andrei Zeliankou | 1 | -1/+1 | |