summaryrefslogtreecommitdiffhomepage
path: root/test/unit (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-03-12Tests: skip "last message send failed" alerts globally.Andrei Zeliankou1-0/+1
2020-03-10Tests: use blocking to print unit.log files.Andrei Zeliankou1-1/+1
2020-03-10Tests: redirect tests output to the stdout.Andrei Zeliankou3-5/+7
2020-03-06Tests: unitd stderr output redirected to unit.log.Valentin Bartenev1-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-06Tests: simplified unitd process running.Valentin Bartenev1-42/+26
There are no reasons to wrap the Unit daemon in a separate Python process.
2020-03-03Tests: chdir() and open() for PHP module.Tiago Natel de Moura1-2/+2
These tests ensure optimizations in the chdir calls don't break SAPI semantics.
2020-03-02Tests: truncated huge messages while logging.Andrei Zeliankou1-12/+33
2020-02-27Tests: added "-r" option to print unit.log on failures.Andrei Zeliankou1-5/+24
2020-02-05Tests: add helper for form-data and multipart.Tiago Natel de Moura1-0/+73
2020-02-04Tests: fixing Python 3.8.1 errors on Mac.Max Romanov1-9/+4
- "Can't pickle local object ..." - "if __name__ == '__main__':" pattern required for multiprocessing
2019-12-24Go: installing go module for tests into build directory.Max Romanov1-1/+1
2019-11-11Tests: added support for testing "user" and "group".Tiago Natel8-15/+34
2019-11-26Tests: added getjson() helper.Tiago Natel2-3/+20
2019-11-26Tests: parsing of "Transfer-Encoding: chunked" responses.Tiago Natel2-7/+57
2019-11-09Tests: fixed tests to run as root.Tiago Natel2-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-14Tests: run_process() and stop_processes() introduced.Andrei Zeliankou1-0/+22
2019-11-14Tests: waitforsocket() introduced.Andrei Zeliankou1-0/+18
2019-11-13Tests: fixed websocket tests.Andrei Zeliankou1-5/+10
2019-11-08Tests: fixed operator in http.py.Andrey Zelenkov1-1/+1
2019-10-23Tests: improved handshake for websocket tests.Andrey Zelenkov1-6/+14
2019-10-08Tests: increased subprocess timeout on Unit exit.Andrey Zelenkov1-13/+13
Also changed order of subprocess status checks. _terminate_process() method removed.
2019-09-25Tests: fixed hanging of Go tests.Andrey Zelenkov2-14/+24
This closes #319 issue on GitHub.
2019-09-19Initial applications isolation support using Linux namespaces.Tiago de Bem Natel de Moura1-0/+87
2019-09-18Tests: added read_buffer_size option in http().Andrey Zelenkov1-1/+8
2019-09-17Tests: head() method introduced.Andrey Zelenkov1-0/+3
2019-09-16Tests: fixed features check.Andrey Zelenkov1-2/+2
2019-09-14Tests: refactored prerequisites model.Andrey Zelenkov4-93/+126
2019-09-16Tests: prepare_env() introduced.Andrey Zelenkov1-8/+13
2019-09-16Tests: style and minor fixes in java.py.Andrey Zelenkov2-8/+7
2019-09-16Tests: more comments.Andrey Zelenkov1-0/+4
2019-09-16Tests: set default "unsafe" value.Andrey Zelenkov1-0/+1
2019-09-05Java: introducing websocket support.Max Romanov1-2/+10
2019-09-03Tests: increased read_timeout for websockets tests.Andrey Zelenkov1-2/+6
2019-09-02Tests: fixed recv_bytes() in websockets.py.Andrey Zelenkov1-9/+3
2019-09-02Tests: prevented writing non-chopped frames to the closed socket.Andrey Zelenkov1-1/+4
2019-08-30Tests: prevented writing to the closed socket for websocket tests.Andrey Zelenkov1-1/+4
2019-08-30Tests: websockets style fixes.Andrey Zelenkov1-9/+9
2019-08-22Tests: removed keepalive_interval for websocket tests.Andrey Zelenkov1-2/+2
Also increased read_timeout in frame_read() for slow hosts.
2019-08-22Tests: Node.js websockets tests tuned.Andrey Zelenkov1-2/+2
2019-08-22Tests: Node.js websockets.Andrey Zelenkov2-0/+216
2019-08-22Tests: "--unsafe" option introduced.Andrey Zelenkov1-0/+8
2019-08-21Tests: reverted rerun for Java tests in 5e429a7f133c.Andrey Zelenkov1-3/+1
Each testcase should also recompile to be recompiled. So backed out for now.
2019-08-14Tests: print decoded strings in detailed mode, if possible.Andrey Zelenkov1-2/+10
2019-08-08Tests: fixed modules version parsing.Andrey Zelenkov1-1/+1
2019-08-06Tests: rerun tests for each module version.Andrey Zelenkov6-6/+40
Rerun supported for Python, PHP, Perl, Ruby, and Java modules.
2019-07-14Tests: TestApplicationTLS.openssl_conf() introduced.Andrey Zelenkov1-5/+12
2019-07-14Tests: check application configuration loading in TLS tests.Andrey Zelenkov1-1/+1
2019-07-08Tests: made openssl certificates more strong to avoid errors.Andrey Zelenkov1-1/+1
2019-04-26Tests: TestControl.conf_post() introduced.Andrey Zelenkov1-0/+4
2019-04-26Tests: TestControl refactored.Andrey Zelenkov1-39/+48