History log of /unit/test/unit/applications/ (Results 1 – 25 of 101)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: 1.32.1-1, 1.32.0-1, 1.32.0
2700:859302d7f6a519-Feb-2024 Sergey A. Osokin

Update third-party java components to their recent versions

Acked-by: Timo Stark <t.stark@nginx.com>
[ Remove trailing '.' from subject line - Andrew ]
Signed-off-by: Andrew Clayton <a.clayton@nginx

Update third-party java components to their recent versions

Acked-by: Timo Stark <t.stark@nginx.com>
[ Remove trailing '.' from subject line - Andrew ]
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>

show more ...

2616:ab2896c980ab15-Jan-2024 Andrei Zeliankou

Tests: pathlib used where appropriate

Also fixed various pylint errors and style issues.


/unit/test/conftest.py
/unit/test/python/body_generate/wsgi.py
/unit/test/python/delayed/asgi.py
/unit/test/python/environment/wsgi.py
/unit/test/python/iter_exception/wsgi.py
/unit/test/python/legacy/asgi.py
/unit/test/python/legacy_force/asgi.py
/unit/test/python/lifespan/empty/asgi.py
/unit/test/python/lifespan/failed/asgi.py
/unit/test/python/restart/longstart.py
/unit/test/python/unicode/wsgi.py
/unit/test/python/user_group/wsgi.py
/unit/test/test_access_log.py
/unit/test/test_asgi_application.py
/unit/test/test_asgi_application_unix_abstract.py
/unit/test/test_asgi_lifespan.py
/unit/test/test_asgi_targets.py
/unit/test/test_asgi_websockets.py
/unit/test/test_client_ip.py
/unit/test/test_configuration.py
/unit/test/test_forwarded_header.py
/unit/test/test_go_application.py
/unit/test/test_go_isolation.py
/unit/test/test_http_header.py
/unit/test/test_java_application.py
/unit/test/test_java_isolation_rootfs.py
/unit/test/test_java_websockets.py
/unit/test/test_njs.py
/unit/test/test_node_application.py
/unit/test/test_node_es_modules.py
/unit/test/test_node_websockets.py
/unit/test/test_perl_application.py
/unit/test/test_php_application.py
/unit/test/test_proxy.py
/unit/test/test_proxy_chunked.py
/unit/test/test_python_application.py
/unit/test/test_python_isolation.py
/unit/test/test_python_procman.py
/unit/test/test_reconfigure.py
/unit/test/test_reconfigure_tls.py
/unit/test/test_respawn.py
/unit/test/test_response_headers.py
/unit/test/test_return.py
/unit/test/test_rewrite.py
/unit/test/test_routing.py
/unit/test/test_ruby_application.py
/unit/test/test_settings.py
/unit/test/test_static.py
/unit/test/test_static_chroot.py
/unit/test/test_static_fallback.py
/unit/test/test_static_mount.py
/unit/test/test_static_share.py
/unit/test/test_static_symlink.py
/unit/test/test_static_types.py
/unit/test/test_static_variables.py
/unit/test/test_tls.py
/unit/test/test_tls_conf_command.py
/unit/test/test_tls_sni.py
/unit/test/test_upstreams_rr.py
/unit/test/test_usr1.py
/unit/test/test_variables.py
lang/go.py
lang/php.py
lang/python.py
tls.py
websockets.py
/unit/test/unit/check/check_prerequisites.py
/unit/test/unit/check/isolation.py
/unit/test/unit/check/node.py
/unit/test/unit/control.py
/unit/test/unit/http.py
/unit/test/unit/status.py
2604:a732c666131229-Nov-2023 Sergey A. Osokin

Update third-party components for the Java module.

2592:e079c44a834008-Nov-2023 Andrei Zeliankou

Tests: 8XXX used as default port range.

After the launch of the project, the testing infrastructure was shared with
nginx project in some cases. To avoid port overlap, a decision was made
to shift

Tests: 8XXX used as default port range.

After the launch of the project, the testing infrastructure was shared with
nginx project in some cases. To avoid port overlap, a decision was made
to shift the port range for Unit tests. This problem was resolved a long time
ago and is no longer relevant, so it is now safe to use port 8XXX range as the
default, as it is more appropriate for testing purposes.

show more ...


/unit/test/go/404/app.go
/unit/test/go/command_line_arguments/app.go
/unit/test/go/cookies/app.go
/unit/test/go/empty/app.go
/unit/test/go/get_variables/app.go
/unit/test/go/mirror/app.go
/unit/test/go/ns_inspect/app.go
/unit/test/go/post_variables/app.go
/unit/test/go/variables/app.go
/unit/test/node/404/app.js
/unit/test/node/basic/app.js
/unit/test/node/double_end/app.js
/unit/test/node/get_header_names/app.js
/unit/test/node/get_header_type/app.js
/unit/test/node/get_variables/app.js
/unit/test/node/has_header/app.js
/unit/test/node/header_name_case/app.js
/unit/test/node/header_name_valid/app.js
/unit/test/node/header_value_object/app.js
/unit/test/node/loader/es_modules_http/app.mjs
/unit/test/node/loader/es_modules_http_indirect/module.mjs
/unit/test/node/loader/es_modules_websocket/app.mjs
/unit/test/node/loader/es_modules_websocket_indirect/module.mjs
/unit/test/node/loader/transitive_dependency/transitive_http.js
/unit/test/node/loader/unit_http/app.js
/unit/test/node/mirror/app.js
/unit/test/node/post_variables/app.js
/unit/test/node/promise_end/app.js
/unit/test/node/promise_handler/app.js
/unit/test/node/remove_header/app.js
/unit/test/node/set_header_array/app.js
/unit/test/node/status_message/app.js
/unit/test/node/update_header/app.js
/unit/test/node/variables/app.js
/unit/test/node/websockets/mirror/app.js
/unit/test/node/websockets/mirror_fragmentation/app.js
/unit/test/node/write_array/app.js
/unit/test/node/write_before_write_head/app.js
/unit/test/node/write_buffer/app.js
/unit/test/node/write_callback/app.js
/unit/test/node/write_multiple/app.js
/unit/test/node/write_return/app.js
/unit/test/test_access_log.py
/unit/test/test_asgi_application.py
/unit/test/test_asgi_lifespan.py
/unit/test/test_asgi_targets.py
/unit/test/test_client_ip.py
/unit/test/test_configuration.py
/unit/test/test_forwarded_header.py
/unit/test/test_http_header.py
/unit/test/test_java_application.py
/unit/test/test_njs.py
/unit/test/test_njs_modules.py
/unit/test/test_perl_application.py
/unit/test/test_php_application.py
/unit/test/test_php_basic.py
/unit/test/test_php_targets.py
/unit/test/test_proxy.py
/unit/test/test_proxy_chunked.py
/unit/test/test_python_application.py
/unit/test/test_python_basic.py
/unit/test/test_python_isolation.py
/unit/test/test_python_targets.py
/unit/test/test_reconfigure.py
/unit/test/test_reconfigure_tls.py
/unit/test/test_response_headers.py
/unit/test/test_return.py
/unit/test/test_rewrite.py
/unit/test/test_routing.py
/unit/test/test_routing_tls.py
/unit/test/test_ruby_application.py
/unit/test/test_settings.py
/unit/test/test_static.py
/unit/test/test_static_chroot.py
/unit/test/test_static_fallback.py
/unit/test/test_static_mount.py
/unit/test/test_static_share.py
/unit/test/test_static_symlink.py
/unit/test/test_static_types.py
/unit/test/test_static_variables.py
/unit/test/test_status.py
/unit/test/test_status_tls.py
/unit/test/test_tls.py
/unit/test/test_tls_conf_command.py
/unit/test/test_tls_session.py
/unit/test/test_tls_sni.py
/unit/test/test_tls_tickets.py
/unit/test/test_unix_abstract.py
/unit/test/test_upstreams_rr.py
/unit/test/test_variables.py
lang/go.py
lang/java.py
lang/node.py
lang/perl.py
lang/php.py
lang/python.py
lang/ruby.py
tls.py
/unit/test/unit/check/chroot.py
/unit/test/unit/check/isolation.py
/unit/test/unit/http.py
Revision tags: 1.31.1-1, 1.31.1
2578:4abe14ad558117-Oct-2023 Sergey A. Osokin

Update third-party components for the Java module.

2571:59a0b60a5cdb10-Oct-2023 Sergey A. Osokin

Update third-party components for the Java module.

2568:117ca233e22506-Oct-2023 Sergey A. Osokin

Update third-party components for the Java module.

Revision tags: 1.31.0-1, 1.31.0
2500:ca911376b56b07-Jul-2023 Sergey A. Osokin

Update third-party components for Unit's Java module.

2491:aae60837ac2014-Jun-2023 Andrei Zeliankou

Tests: get rid of classes in test files.

Class usage came from the unittest framework and it was always redundant
after migration to the pytest. This commit removes classes from files
containing te

Tests: get rid of classes in test files.

Class usage came from the unittest framework and it was always redundant
after migration to the pytest. This commit removes classes from files
containing tests to make them more readable and understandable.

show more ...


/unit/test/conftest.py
/unit/test/test_access_log.py
/unit/test/test_asgi_application.py
/unit/test/test_asgi_application_unix_abstract.py
/unit/test/test_asgi_lifespan.py
/unit/test/test_asgi_targets.py
/unit/test/test_asgi_websockets.py
/unit/test/test_client_ip.py
/unit/test/test_configuration.py
/unit/test/test_forwarded_header.py
/unit/test/test_go_application.py
/unit/test/test_go_isolation.py
/unit/test/test_go_isolation_rootfs.py
/unit/test/test_http_header.py
/unit/test/test_java_application.py
/unit/test/test_java_isolation_rootfs.py
/unit/test/test_java_websockets.py
/unit/test/test_njs.py
/unit/test/test_njs_modules.py
/unit/test/test_node_application.py
/unit/test/test_node_es_modules.py
/unit/test/test_node_websockets.py
/unit/test/test_perl_application.py
/unit/test/test_php_application.py
/unit/test/test_php_basic.py
/unit/test/test_php_isolation.py
/unit/test/test_php_targets.py
/unit/test/test_proxy.py
/unit/test/test_proxy_chunked.py
/unit/test/test_python_application.py
/unit/test/test_python_basic.py
/unit/test/test_python_environment.py
/unit/test/test_python_isolation.py
/unit/test/test_python_isolation_chroot.py
/unit/test/test_python_procman.py
/unit/test/test_python_targets.py
/unit/test/test_reconfigure.py
/unit/test/test_reconfigure_tls.py
/unit/test/test_respawn.py
/unit/test/test_return.py
/unit/test/test_rewrite.py
/unit/test/test_routing.py
/unit/test/test_routing_tls.py
/unit/test/test_ruby_application.py
/unit/test/test_ruby_hooks.py
/unit/test/test_ruby_isolation.py
/unit/test/test_settings.py
/unit/test/test_static.py
/unit/test/test_static_chroot.py
/unit/test/test_static_fallback.py
/unit/test/test_static_mount.py
/unit/test/test_static_share.py
/unit/test/test_static_symlink.py
/unit/test/test_static_types.py
/unit/test/test_static_variables.py
/unit/test/test_status.py
/unit/test/test_status_tls.py
/unit/test/test_tls.py
/unit/test/test_tls_conf_command.py
/unit/test/test_tls_session.py
/unit/test/test_tls_sni.py
/unit/test/test_tls_tickets.py
/unit/test/test_unix_abstract.py
/unit/test/test_upstreams_rr.py
/unit/test/test_usr1.py
/unit/test/test_variables.py
lang/go.py
lang/java.py
lang/node.py
lang/perl.py
lang/php.py
lang/python.py
lang/ruby.py
proto.py
tls.py
websockets.py
/unit/test/unit/check/chroot.py
/unit/test/unit/check/go.py
/unit/test/unit/check/isolation.py
/unit/test/unit/check/unix_abstract.py
/unit/test/unit/control.py
/unit/test/unit/http.py
/unit/test/unit/option.py
/unit/test/unit/status.py
2488:55440e02a87312-Jun-2023 Andrei Zeliankou

Tests: prerequisites checking reworked.

Prerequisites check moved to the module level to simplify class structure.
Discovery and prerequisites checks functions moved to the separate files.
Introduce

Tests: prerequisites checking reworked.

Prerequisites check moved to the module level to simplify class structure.
Discovery and prerequisites checks functions moved to the separate files.
Introduced "require" fixture to provide per-test requirements check.

show more ...


/unit/test/conftest.py
/unit/test/test_access_log.py
/unit/test/test_asgi_application.py
/unit/test/test_asgi_application_unix_abstract.py
/unit/test/test_asgi_lifespan.py
/unit/test/test_asgi_targets.py
/unit/test/test_asgi_websockets.py
/unit/test/test_client_ip.py
/unit/test/test_configuration.py
/unit/test/test_forwarded_header.py
/unit/test/test_go_application.py
/unit/test/test_go_isolation.py
/unit/test/test_go_isolation_rootfs.py
/unit/test/test_http_header.py
/unit/test/test_java_application.py
/unit/test/test_java_isolation_rootfs.py
/unit/test/test_java_websockets.py
/unit/test/test_njs.py
/unit/test/test_njs_modules.py
/unit/test/test_node_application.py
/unit/test/test_node_es_modules.py
/unit/test/test_node_websockets.py
/unit/test/test_perl_application.py
/unit/test/test_php_application.py
/unit/test/test_php_basic.py
/unit/test/test_php_isolation.py
/unit/test/test_php_targets.py
/unit/test/test_proxy.py
/unit/test/test_proxy_chunked.py
/unit/test/test_python_application.py
/unit/test/test_python_basic.py
/unit/test/test_python_environment.py
/unit/test/test_python_isolation.py
/unit/test/test_python_isolation_chroot.py
/unit/test/test_python_procman.py
/unit/test/test_python_targets.py
/unit/test/test_reconfigure.py
/unit/test/test_reconfigure_tls.py
/unit/test/test_respawn.py
/unit/test/test_return.py
/unit/test/test_rewrite.py
/unit/test/test_routing.py
/unit/test/test_routing_tls.py
/unit/test/test_ruby_application.py
/unit/test/test_ruby_hooks.py
/unit/test/test_ruby_isolation.py
/unit/test/test_settings.py
/unit/test/test_static.py
/unit/test/test_static_chroot.py
/unit/test/test_static_fallback.py
/unit/test/test_static_mount.py
/unit/test/test_static_share.py
/unit/test/test_static_symlink.py
/unit/test/test_static_types.py
/unit/test/test_static_variables.py
/unit/test/test_status.py
/unit/test/test_status_tls.py
/unit/test/test_tls.py
/unit/test/test_tls_conf_command.py
/unit/test/test_tls_session.py
/unit/test/test_tls_sni.py
/unit/test/test_tls_tickets.py
/unit/test/test_unix_abstract.py
/unit/test/test_upstreams_rr.py
/unit/test/test_usr1.py
/unit/test/test_variables.py
proto.py
/unit/test/unit/check/check_prerequisites.py
/unit/test/unit/check/chroot.py
/unit/test/unit/check/discover_available.py
/unit/test/unit/check/go.py
/unit/test/unit/check/isolation.py
/unit/test/unit/check/njs.py
/unit/test/unit/check/node.py
/unit/test/unit/check/regex.py
/unit/test/unit/check/tls.py
/unit/test/unit/check/unix_abstract.py
/unit/test/unit/log.py
/unit/test/unit/option.py
2482:88df458ead6d29-May-2023 Andrei Zeliankou

Tests: more fixtures.

Common methods from applications/proto.py converted to the fixtures.
sysctl check moved to the specific file where it is using.
Some options moved to the constructor to have ea

Tests: more fixtures.

Common methods from applications/proto.py converted to the fixtures.
sysctl check moved to the specific file where it is using.
Some options moved to the constructor to have early access.

show more ...

2481:48bf16097eee29-May-2023 Andrei Zeliankou

Tests: Log reworked.

All log-related code moved to the log.py.

2477:4633c7db7fb525-May-2023 Andrei Zeliankou

Tests: removed unused variables.

Revision tags: 1.30.0-1, 1.30.0
2388:77a62f948a6c27-Mar-2023 Konstantin Pavlov

Tests: relaxed jar glob.

We install jars with names like websocket-api-${NXT_JAVA_MODULE}-$NXT_VERSION.jar,
which translates to versioned NXT_JAVA_MODULE in the packaging system, e.g.
websocket-api-

Tests: relaxed jar glob.

We install jars with names like websocket-api-${NXT_JAVA_MODULE}-$NXT_VERSION.jar,
which translates to versioned NXT_JAVA_MODULE in the packaging system, e.g.
websocket-api-java11-1.30.0.jar.

show more ...

Revision tags: 1.29.1-1, 1.29.1
2330:4b1f175f9c8821-Feb-2023 Andrei Zeliankou

Tests: switched to using f-strings.

Previously, it was necessary to support older versions of Python for
compatibility. F-strings were released in Python 3.6. Python 3.5 was
marked as unsupported

Tests: switched to using f-strings.

Previously, it was necessary to support older versions of Python for
compatibility. F-strings were released in Python 3.6. Python 3.5 was
marked as unsupported by the end of 2020, so now it's possible to start
using f-strings safely for better readability and performance.

show more ...


/unit/test/conftest.py
/unit/test/python/environment/wsgi.py
/unit/test/python/input_readline_size/wsgi.py
/unit/test/python/lifespan/empty/asgi.py
/unit/test/python/targets/wsgi.py
/unit/test/python/threading/asgi.py
/unit/test/python/threading/wsgi.py
/unit/test/python/unicode/wsgi.py
/unit/test/test_access_log.py
/unit/test/test_asgi_application.py
/unit/test/test_asgi_application_unix_abstract.py
/unit/test/test_asgi_lifespan.py
/unit/test/test_asgi_targets.py
/unit/test/test_asgi_websockets.py
/unit/test/test_client_ip.py
/unit/test/test_configuration.py
/unit/test/test_go_application.py
/unit/test/test_go_isolation.py
/unit/test/test_http_header.py
/unit/test/test_java_application.py
/unit/test/test_java_isolation_rootfs.py
/unit/test/test_java_websockets.py
/unit/test/test_njs.py
/unit/test/test_node_application.py
/unit/test/test_node_websockets.py
/unit/test/test_php_application.py
/unit/test/test_php_targets.py
/unit/test/test_proxy.py
/unit/test/test_proxy_chunked.py
/unit/test/test_python_application.py
/unit/test/test_python_environment.py
/unit/test/test_python_isolation.py
/unit/test/test_python_isolation_chroot.py
/unit/test/test_python_procman.py
/unit/test/test_python_targets.py
/unit/test/test_respawn.py
/unit/test/test_return.py
/unit/test/test_routing.py
/unit/test/test_ruby_hooks.py
/unit/test/test_settings.py
/unit/test/test_static.py
/unit/test/test_static_chroot.py
/unit/test/test_static_fallback.py
/unit/test/test_static_mount.py
/unit/test/test_static_share.py
/unit/test/test_static_symlink.py
/unit/test/test_static_types.py
/unit/test/test_static_variables.py
/unit/test/test_status.py
/unit/test/test_tls.py
/unit/test/test_tls_conf_command.py
/unit/test/test_tls_sni.py
/unit/test/test_tls_tickets.py
/unit/test/test_unix_abstract.py
/unit/test/test_upstreams_rr.py
/unit/test/test_usr1.py
/unit/test/test_variables.py
lang/go.py
lang/java.py
lang/node.py
lang/perl.py
lang/php.py
lang/python.py
lang/ruby.py
tls.py
websockets.py
/unit/test/unit/check/chroot.py
/unit/test/unit/check/isolation.py
/unit/test/unit/check/node.py
/unit/test/unit/check/unix_abstract.py
/unit/test/unit/control.py
/unit/test/unit/http.py
/unit/test/unit/log.py
/unit/test/unit/utils.py
2328:72295f67689c21-Feb-2023 Andrei Zeliankou

Tests: removed list usage as default argument.

Mutable types as default arguments is bad practice since
they are evaluated only once when the function is defined.

Revision tags: 1.29.0-1, 1.29.0
2273:a13c26f6247714-Nov-2021 OutOfFocus4

Python: Added "prefix" to configuration.

This patch gives users the option to set a `"prefix"` attribute
for Python applications, either at the top level or for specific
`"target"`s. If the attribut

Python: Added "prefix" to configuration.

This patch gives users the option to set a `"prefix"` attribute
for Python applications, either at the top level or for specific
`"target"`s. If the attribute is present, the value of `"prefix"`
must be a string beginning with `"/"`. If the value of the `"prefix"`
attribute is longer than 1 character and ends in `"/"`, the
trailing `"/"` is stripped.

The purpose of the `"prefix"` attribute is to set the `SCRIPT_NAME`
context value for WSGI applications and the `root_path` context
value for ASGI applications, allowing applications to properly route
requests regardless of the path that the server uses to expose the
application.

The context value is only set if the request's URL path begins with
the value of the `"prefix"` attribute. In all other cases, the
`SCRIPT_NAME` or `root_path` values are not set. In addition, for
WSGI applications, the value of `"prefix"` will be stripped from
the beginning of the request's URL path before it is sent to the
application.

Reviewed-by: Andrei Zeliankou <zelenkov@nginx.com>
Reviewed-by: Artem Konev <artem.konev@nginx.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>

show more ...

2271:ccaca37def8714-Dec-2022 "Sergey A. Osokin"

Java: upgrading third-party components.

2263:f9f47ce8631512-Dec-2022 Andrei Zeliankou

Tests: pretty output.

Hide expected alerts by default.
Silence succesfull "go build" information.

2212:975ab162478411-Oct-2022 Andrei Zeliankou

Tests: don't try to return response when "no_recv" is True.

Revision tags: 1.28.0-1, 1.28.0
2167:e38ab67c7f6328-Jul-2022 Andrei Zeliankou

Tests: added flags to search functions in proto.py.

Also removed unnesessary re.compile() calls.

2144:b14caaedca5e30-Jun-2022 Andrei Zeliankou

Tests: minor improvements.

Added "go" availability check before trying to build an application.

update_action() method used were possible and fixed bug with
the relative path determination in test_

Tests: minor improvements.

Added "go" availability check before trying to build an application.

update_action() method used were possible and fixed bug with
the relative path determination in test_static_chroot.py.

Templates optimization and style fixes.

show more ...

Revision tags: 1.27.0-1, 1.27.0
2073:bc6ad31ce28611-Apr-2022 Andrei Zeliankou

Tests: style.

2066:242192963d9331-Jan-2022 Andrei Zeliankou

Tests: removed TestApplicationTLS.get_server_certificate().

distutils.version is replaced by packaging.version. Also minor style fixes.

2062:ede07f84045b10-Jan-2022 Max Romanov

Tests: using modules in Go.

12345