Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-07-03 | Tests: address configuration tests reworked. | Andrei Zeliankou | 1 | -58/+21 | |
2021-07-02 | Tests: Ruby hooks. | Oisin Canty | 11 | -22/+183 | |
2021-07-02 | Tests: run Ruby applications inside temporary directory. | Oisin Canty | 3 | -10/+20 | |
2021-07-01 | Tests: fixing racing condition in respawn tests. | Max Romanov | 1 | -5/+10 | |
A race may occur between the router process restart and the main process sending a notification to the running controller. For example, a test script detects the new process and starts performing a smoke test, but the controller has not yet received the 'remove PID' notification, so the connection to the router is broken and any attempt to update the configuration will cause an error. The solution is to perform several attempts to reconfigure Unit with a short delay between failures. | |||||
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-06-28 | Tests: renamed share to static. | Andrei Zeliankou | 8 | -62/+57 | |
Also minor style changes. | |||||
2021-06-24 | Tests: chroot test with permissions skipped under root. | Andrei Zeliankou | 1 | -1/+4 | |
2021-05-27 | Tests: added tests for TLS "conf_commands" option. | Andrei Zeliankou | 1 | -0/+112 | |
2021-05-26 | Tests: added TLS test without close notify. | Andrei Zeliankou | 1 | -0/+23 | |
2021-05-26 | Static: handled unknown MIME types when MIME-filtering active. | Oisin Canty | 1 | -1/+1 | |
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. |