summaryrefslogtreecommitdiffhomepage
path: root/test/test_java_application.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-04-11Tests: style.Andrei Zeliankou1-33/+11
2021-12-12Tests: fixed type of applications.Andrei Zeliankou1-1/+1
2021-04-05Tests: style.Andrei Zeliankou1-5/+6
2020-12-08Tests: skip_alert() converted to the fixture.Andrei Zeliankou1-2/+1
2020-12-08Tests: utils module introduced.Andrei Zeliankou1-1/+1
2020-12-06Tests: options moved to the separate class.Andrei Zeliankou1-1/+1
This change is necessary to separate the logic and prevent possible circular dependency.
2020-11-05Tests: added Java threading tests.Max Romanov1-0/+41
2020-10-19Tests: fixed unit.log print.Andrei Zeliankou1-7/+7
2020-10-07Tests: minor fixes.Andrei Zeliankou1-1/+3
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-783/+528
2020-03-09Refactor of process management.Tiago Natel de Moura1-0/+1
The process abstraction has changed to: setup(task, process) start(task, process_data) prefork(task, process, mp) The prefork() occurs in the main process right before fork. The file src/nxt_main_process.c is completely free of process specific logic. The creation of a process now supports a PROCESS_CREATED state. The The setup() function of each process can set its state to either created or ready. If created, a MSG_PROCESS_CREATED is sent to main process, where external setup can be done (required for rootfs under container). The core processes (discovery, controller and router) doesn't need external setup, then they all proceeds to their start() function straight away. In the case of applications, the load of the module happens at the process setup() time and The module's init() function has changed to be the start() of the process. The module API has changed to: setup(task, process, conf) start(task, data) As a direct benefit of the PROCESS_CREATED message, the clone(2) of processes using pid namespaces now doesn't need to create a pipe to make the child block until parent setup uid/gid mappings nor it needs to receive the child pid.
2020-05-15Tests: style.Andrei Zeliankou1-1/+1
2020-04-24Tests: introduced module version specification in prerequisites.Andrei Zeliankou1-1/+1
2020-04-14Tests: minor fixes and style.Andrei Zeliankou1-4/+6
2020-02-05Tests: add helper for form-data and multipart.Tiago Natel de Moura1-22/+17
2019-11-09Tests: fixed tests to run as root.Tiago Natel1-4/+17
- 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-09-14Tests: refactored prerequisites model.Andrey Zelenkov1-1/+1
2019-08-14Java: implementing multipart message support.Max Romanov1-1/+0
This closes #265 issue on GitHub.
2019-08-07Tests: Java multipart test.Andrey Zelenkov1-0/+39
2019-07-23Tests: fixed test_java_conf_error to pass with "--modules=" option.Andrey Zelenkov1-0/+1
2019-07-17Tests: more Java tests.Andrey Zelenkov1-0/+40
Added test with war file and error configuration test.
2019-07-02Tests: adjusted inactive interval in Java app for slow hosts.Andrey Zelenkov1-4/+12
2019-05-30Tests: fixed tests without "Host" header.Andrey Zelenkov1-11/+0
2019-04-09Tests: speed up tests.Andrey Zelenkov1-0/+5
2019-04-09Tests: simplified module checking.Andrey Zelenkov1-2/+1
2019-03-28Tests: unit module refactoring.Andrey Zelenkov1-5/+4
2019-03-26Tests: speed up Java tests.Andrey Zelenkov1-1/+5
2019-03-26Tests: style.Andrey Zelenkov1-379/+799
2019-02-28Introducing Java Servlet Container beta.Max Romanov1-0/+753