summaryrefslogtreecommitdiffhomepage
path: root/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-03-27Tests: increase default "read_timeout" to 60s in message_read().Andrei Zeliankou1-1/+1
2020-03-25Tests: added tests for comments in JSON.Andrei Zeliankou1-0/+61
2020-03-25Tests: UTF-8 BOM test.Andrei Zeliankou1-0/+19
2020-03-23Tests: increase default "read_timeout" value to 60s.Andrei Zeliankou2-15/+16
This change is necessary to avoid errors on slow hosts. Also slightly reworked argument passing to the recvall() function.
2020-03-23Tests: added notification on unsuccessful connect().Andrei Zeliankou1-1/+1
2020-03-23Tests: wait for unit.pid file before running tests.Andrei Zeliankou1-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-23Tests: rearranging functions in main.py.Andrei Zeliankou1-69/+69
2020-03-23Tests: terminate unitd process on exit().Andrei Zeliankou1-12/+14
2020-03-19Tests: test_python_procman.py refactored.Andrei Zeliankou1-115/+58
2020-03-19Tests: fixed prerequisite in test_share_fallback.py.Andrei Zeliankou1-3/+3
2020-03-17Fixing body fd access racing condition.Max Romanov1-2/+0
To avoid closing the body fd prematurely, the fd value is moved from the request struct to the app link. The body fd should not be closed immediately after the request is sent to the application due to possible request rescheduling.
2020-03-12Tests: skip "close failed" alert in test_proxy_parallel test.Andrei Zeliankou1-0/+2
2020-03-12Using disk file to store large request body.Max Romanov1-0/+1
This closes #386 on GitHub.
2020-03-12Tests: added Python input readline and iterator tests.Max Romanov5-6/+125
2020-03-12Tests: fixed race in USR1 signal tests.Andrei Zeliankou1-19/+22
Also, minor style fixes applied.
2020-03-12Tests: round robin upstream tests.Andrei Zeliankou4-0/+489
2020-03-12Tests: skip "last message send failed" alerts globally.Andrei Zeliankou1-0/+1
2020-01-31Tests: more routing tests with negative rules.Andrei Zeliankou1-0/+57
2020-03-10Tests: use blocking to print unit.log files.Andrei Zeliankou1-1/+1
2020-03-10Tests: redirect tests output to the stdout.Andrei Zeliankou6-13/+20
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 Moura6-6/+161
These tests ensure optimizations in the chdir calls don't break SAPI semantics.
2020-03-03Tests: added tests for "fallback" option for the "share" action.Andrei Zeliankou1-0/+212
2020-03-03Tests: check unique options in "action" object.Andrei Zeliankou1-0/+50
2020-03-03Improved validation of the "action" object.Valentin Bartenev1-2/+0
Now it enforces the mutual exclusivity of "pass", "proxy", and "share" options.
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-27Tests: added test with invalid IPv6 address in routing block.Andrei Zeliankou1-0/+1
2020-02-21Tests: more static tests.Andrei Zeliankou1-4/+26
2020-02-20Tests: added PHP test with invalid index extension only.Andrei Zeliankou1-0/+30
2020-02-20Tests: added proxy test with large body.Andrei Zeliankou1-0/+7
2020-02-20Tests: more tests with "max_body_size".Andrei Zeliankou1-0/+25
2020-02-05Tests: added test for uploading files with SSL.Tiago Natel de Moura2-0/+49
* * * [mq]: multipart
2020-02-05Tests: add helper for form-data and multipart.Tiago Natel de Moura2-22/+90
2020-02-04Tests: fixing Python 3.8.1 errors on Mac.Max Romanov3-21/+18
- "Can't pickle local object ..." - "if __name__ == '__main__':" pattern required for multiprocessing
2020-01-23Tests: check for php extension.Tiago Natel de Moura2-1/+14
2019-12-25Go: changing import name for "unit.nginx.org/go".Max Romanov9-9/+9
This patch includes packaging changes - update unit-go installation directory.
2019-12-24Tests: routing by listener address.Axel Duch1-0/+58
2019-12-24Tests: routing by client address configuration.Axel Duch1-0/+353
2019-12-24Go: installing go module for tests into build directory.Max Romanov1-1/+1
2019-12-09Tests: routing tests refactored.Andrei Zeliankou2-1774/+331
2019-12-06Tests: added privileged credential tests.Tiago Natel1-44/+150
2019-11-11Tests: added tests for setting user and group.Tiago Natel2-0/+95
2019-11-11Tests: added support for testing "user" and "group".Tiago Natel8-15/+34
2019-11-26Tests: added getjson() helper.Tiago Natel4-10/+29
2019-11-26Tests: parsing of "Transfer-Encoding: chunked" responses.Tiago Natel6-23/+71
2019-11-09Tests: fixed tests to run as root.Tiago Natel5-25/+72
- 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: Python exception tests.Andrei Zeliankou2-0/+202
2019-11-14Tests: proxy tests.Andrei Zeliankou2-0/+647