Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 10 | -219/+38 | |
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 12 | -23/+23 | |
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 | 8 | -69/+60 | |
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-22 | Tests: using dict.get() method with default value. | Max Romanov | 1 | -18/+9 | |
No functional changes. Only code readability improved. | |||||
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 14 | -305/+124 | |
2020-07-28 | Tests: fixed double stop() call for some tests. | Andrei Zeliankou | 1 | -6/+11 | |
2020-07-28 | Tests: style. | Andrei Zeliankou | 2 | -3/+2 | |
2020-07-22 | Tests: switching stdout to blocking before printing log. | Max Romanov | 1 | -3/+6 | |
This is another attempt to fix the following error message: BlockingIOError: [Errno 11] write could not complete without blocking | |||||
2020-05-28 | Tests: Added rootfs tests. | Tiago Natel de Moura | 3 | -31/+66 | |
2020-05-20 | Tests: print unit.log in case of errors. | Andrei Zeliankou | 1 | -1/+2 | |
Thanks to hongzhidao. | |||||
2020-05-15 | Tests: style. | Andrei Zeliankou | 10 | -19/+26 | |
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-24 | Tests: introduced module version specification in prerequisites. | Andrei Zeliankou | 1 | -2/+14 | |
2020-04-14 | Tests: minor fixes and style. | Andrei Zeliankou | 1 | -6/+2 | |
2020-04-08 | Controller: improved handling of unix domain control socket. | Valentin Bartenev | 1 | -4/+1 | |
One of the ways to detect Unit's startup and subsequent readiness to accept commands relies on waiting for the control socket file to be created. Earlier, it was unreliable due to a race condition between the client's connect() and the daemon's listen() calls after the socket's bind() call. Now, unix domain listening sockets are created with a nxt_listen_socket_create() call as follows: s = socket(); unlink("path/to/socket.tmp") bind(s, "path/to/socket.tmp"); listen(s); rename("path/to/socket.tmp", "path/to/socket"); This eliminates a time-lapse when the socket file is already created but nobody is listening on it yet, which therefore prevents the condition described above. Also, it allows reliably detecting whether the socket is being used or simply wasn't cleaned after the daemon stopped abruptly. A successful connection to the socket file means the daemon has been started; otherwise, the file can be overwritten. | |||||
2020-04-03 | Tests: added notification on "read_timeout" expiration. | Andrei Zeliankou | 2 | -4/+30 | |
2020-04-03 | Tests: minor fixes. | Andrei Zeliankou | 1 | -8/+18 | |
2020-03-30 | Fixing application process infinite loop. | Max Romanov | 1 | -1/+0 | |
Main process exiting before app process init may have caused hanging. | |||||
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 | 2 | -15/+16 | |
This change is necessary to avoid errors on slow hosts. Also slightly reworked argument passing to the recvall() function. | |||||
2020-03-23 | Tests: added notification on unsuccessful connect(). | Andrei Zeliankou | 1 | -1/+1 | |
2020-03-23 | Tests: wait for unit.pid file before running tests. | Andrei Zeliankou | 1 | -1/+4 | |
Waiting for control.unit.sock was replaced by unit.pid due to current problem with race between connect() and listen() calls for control.unit.sock. This change should be reverted after fix. | |||||
2020-03-23 | Tests: rearranging functions in main.py. | Andrei Zeliankou | 1 | -69/+69 | |
2020-03-23 | Tests: terminate unitd process on exit(). | Andrei Zeliankou | 1 | -12/+14 | |
2020-03-12 | Using disk file to store large request body. | Max Romanov | 1 | -0/+1 | |
This closes #386 on GitHub. | |||||
2020-03-12 | Tests: skip "last message send failed" alerts globally. | Andrei Zeliankou | 1 | -0/+1 | |
2020-03-10 | Tests: use blocking to print unit.log files. | Andrei Zeliankou | 1 | -1/+1 | |
2020-03-10 | Tests: redirect tests output to the stdout. | Andrei Zeliankou | 3 | -5/+7 | |
2020-03-06 | Tests: unitd stderr output redirected to unit.log. | Valentin Bartenev | 1 | -13/+13 | |
A part of the debug log was printed to stderr before the log file was opened. Now, this output is redirected to the same log file. | |||||
2020-03-06 | Tests: simplified unitd process running. | Valentin Bartenev | 1 | -42/+26 | |
There are no reasons to wrap the Unit daemon in a separate Python process. | |||||
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. | |||||
2020-03-02 | Tests: truncated huge messages while logging. | Andrei Zeliankou | 1 | -12/+33 | |
2020-02-27 | Tests: added "-r" option to print unit.log on failures. | Andrei Zeliankou | 1 | -5/+24 | |
2020-02-05 | Tests: add helper for form-data and multipart. | Tiago Natel de Moura | 1 | -0/+73 | |
2020-02-04 | Tests: fixing Python 3.8.1 errors on Mac. | Max Romanov | 1 | -9/+4 | |
- "Can't pickle local object ..." - "if __name__ == '__main__':" pattern required for multiprocessing | |||||
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-26 | Tests: added getjson() helper. | Tiago Natel | 2 | -3/+20 | |
2019-11-26 | Tests: parsing of "Transfer-Encoding: chunked" responses. | Tiago Natel | 2 | -7/+57 | |
2019-11-09 | Tests: fixed tests to run as root. | Tiago Natel | 2 | -3/+24 | |
- 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-14 | Tests: run_process() and stop_processes() introduced. | Andrei Zeliankou | 1 | -0/+22 | |
2019-11-14 | Tests: waitforsocket() introduced. | Andrei Zeliankou | 1 | -0/+18 | |
2019-11-13 | Tests: fixed websocket tests. | Andrei Zeliankou | 1 | -5/+10 | |
2019-11-08 | Tests: fixed operator in http.py. | Andrey Zelenkov | 1 | -1/+1 | |
2019-10-23 | Tests: improved handshake for websocket tests. | Andrey Zelenkov | 1 | -6/+14 | |
2019-10-08 | Tests: increased subprocess timeout on Unit exit. | Andrey Zelenkov | 1 | -13/+13 | |
Also changed order of subprocess status checks. _terminate_process() method removed. |