/unit/pkg/rpm/ |
H A D | Makefile.jsc8 | diff 1497:de07e42484ec Thu May 28 16:16:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch. diff 1497:de07e42484ec Thu May 28 16:16:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch. diff 1496:9e14c63773be Thu May 28 16:04:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Packages: fixed java configure script.
Now the configure script appends /server to --lib-path argument. diff 1188:282c8f9fe43c Thu Sep 19 16:04:00 UTC 2019 Konstantin Pavlov <thresh@nginx.com> Merged with the default branch. diff 1160:67ba8e19b286 Mon Sep 16 10:28:00 UTC 2019 Andrei Belov <defan@nginx.com> Packages: added explicit library path for Java on RPM based distros.
This helps to avoid using excessive strictness in RPATH of Java modules. diff 989:536ccd99d2e3 Fri Mar 01 15:16:00 UTC 2019 Andrei Belov <defan@nginx.com> Packages: added JSR-340 compatibility notice to unit-jsc packages.
|
H A D | Makefile.jsc11 | diff 1497:de07e42484ec Thu May 28 16:16:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch. diff 1497:de07e42484ec Thu May 28 16:16:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch. diff 1496:9e14c63773be Thu May 28 16:04:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Packages: fixed java configure script.
Now the configure script appends /server to --lib-path argument. diff 1188:282c8f9fe43c Thu Sep 19 16:04:00 UTC 2019 Konstantin Pavlov <thresh@nginx.com> Merged with the default branch. diff 1160:67ba8e19b286 Mon Sep 16 10:28:00 UTC 2019 Andrei Belov <defan@nginx.com> Packages: added explicit library path for Java on RPM based distros.
This helps to avoid using excessive strictness in RPATH of Java modules. diff 989:536ccd99d2e3 Fri Mar 01 15:16:00 UTC 2019 Andrei Belov <defan@nginx.com> Packages: added JSR-340 compatibility notice to unit-jsc packages.
|
H A D | Makefile.jsc-common | diff 1497:de07e42484ec Thu May 28 16:16:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch. diff 1497:de07e42484ec Thu May 28 16:16:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch. diff 1496:9e14c63773be Thu May 28 16:04:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Packages: fixed java configure script.
Now the configure script appends /server to --lib-path argument. diff 1188:282c8f9fe43c Thu Sep 19 16:04:00 UTC 2019 Konstantin Pavlov <thresh@nginx.com> Merged with the default branch. diff 1160:67ba8e19b286 Mon Sep 16 10:28:00 UTC 2019 Andrei Belov <defan@nginx.com> Packages: added explicit library path for Java on RPM based distros.
This helps to avoid using excessive strictness in RPATH of Java modules.
|
/unit/ |
H A D | CHANGES | diff 2545:22fbcd1c3d32 Mon Aug 28 16:51:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Added version 1.31.0 CHANGES. diff 2361:406d1ae27425 Tue Feb 28 16:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Added version 1.29.1 CHANGES. diff 2361:406d1ae27425 Tue Feb 28 16:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Added version 1.29.1 CHANGES. diff 1722:8d987b7880f9 Thu Nov 19 16:59:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Added version 1.21.0 CHANGES. diff 1643:0e985b300673 Thu Oct 08 16:04:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Updated 1.20.0 CHANGES to include pytest migration. diff 1570:41371bb77803 Thu Aug 13 16:22:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Added version 1.19.0 CHANGES. diff 1460:e44039667c3e Thu Apr 16 14:49:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Added version 1.17.0 CHANGES. diff 1284:7cdcbdd3ec34 Thu Nov 14 16:23:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Added version 1.13.0 CHANGES. diff 1069:3dae65a81e8f Thu May 30 14:16:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Added version 1.9 CHANGES. diff 886:9d30c80a7935 Thu Dec 20 16:17:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Added version 1.7 CHANGES.
|
H A D | README.md | diff 2462:2692a5823c40 Wed May 10 16:22:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Merged with the 1.29 branch. diff 2298:38a2e5c452b2 Thu Jan 12 16:47:00 UTC 2023 Artem Konev <artem.konev@nginx.com> Fixed the Slack workspace link. diff 2097:2227ab4f0812 Mon May 16 10:16:00 UTC 2022 Artem Konev <artem.konev@nginx.com> Deleted extra line in README.md. diff 2097:2227ab4f0812 Mon May 16 10:16:00 UTC 2022 Artem Konev <artem.konev@nginx.com> Deleted extra line in README.md. 2095:8c0978d786bd Fri May 13 16:13:00 UTC 2022 Artem Konev <artem.konev@nginx.com> Adding GitHub-styled README and CONTRIBUTING files in Markdown.
|
/unit/src/ |
H A D | nxt_file_name.c | diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation. diff 10:a8e68ed06863 Wed Feb 01 16:20:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_str_t changes.
|
H A D | nxt_linux_sendfile.c | diff 494:7c83ddcc1c42 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Fixed formatting in nxt_sprintf() and logging. diff 1:fdc027c56872 Mon Jan 23 16:56:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Introducing tasks.
|
H A D | nxt_upstream_round_robin.c | diff 1440:d1ad3857769c Mon Mar 30 16:47:00 UTC 2020 Igor Sysoev <igor@sysoev.ru> Rational number support in upstream server weight. diff 493:745222d540a2 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Using size_t for the field width type of the "%*s" specifier. diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
|
H A D | nxt_http_websocket.c | diff 1555:1d84b9e4b459 Tue Aug 11 16:20:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Introducing application and port shared memory queues.
The goal is to minimize the number of syscalls needed to deliver a message. diff 1547:cbcd76704c90 Tue Aug 11 16:20:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Introducing the shared application port.
This is the port shared between all application processes which use it to pass requests for processing. Using it significantly simplifies the request processing code in the router. The drawback is 2 more file descriptors per each configured application and more complex libunit message wait/read code. diff 1546:06017e6e3a5f Tue Aug 11 16:20:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Changing router to application shared memory exchange protocol.
The application process needs to request the shared memory segment from the router instead of the latter pushing the segment before sending a request to the application. This is required to simplify the communication between the router and the application and to prepare the router for using the application shared port and then the queue.
|
H A D | nxt_string.c | diff 2139:99d792169ffb Thu Jun 16 01:00:00 UTC 2022 Andrew Clayton <andrew@digital-domain.net> Constified numerous function parameters.
As was pointed out by the cppcheck[0] static code analysis utility we can mark numerous function parameters as 'const'. This acts as a hint to the compiler about our intentions and the compiler will tell us when we deviate from them.
[0]: https://cppcheck.sourceforge.io/ diff 1439:32578e837322 Mon Mar 30 16:37:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Configuration: support for rational numbers. diff 1234:e56683f325ab Thu Oct 10 16:37:00 UTC 2019 Igor Sysoev <igor@sysoev.ru> Changed nxt_memcasecmp() interface to avoid casts. diff 1167:a49ee872e83d Mon Sep 16 17:17:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Configuration: added ability to access object members with slashes.
Now URI encoding can be used to escape "/" in the request path:
GET /config/listeners/unix:%2Fpath%2Fto%2Fsocket/ diff 963:d847762b684b Tue Feb 26 16:48:00 UTC 2019 Igor Sysoev <igor@sysoev.ru> Introduced nxt_memcpy_upcase(). diff 212:d532db63e8cb Wed Aug 16 12:43:00 UTC 2017 Valentin Bartenev <vbart@nginx.com> Renamed nxt_str_copy() to nxt_str_cstrz(). diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation. diff 10:a8e68ed06863 Wed Feb 01 16:20:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_str_t changes.
|
H A D | nxt_js.h | diff 2318:6f198d76ee62 Mon Jan 30 03:16:00 UTC 2023 Zhidao HONG <z.hong@f5.com> NJS: adding the missing vm destruction.
This commit fixed the njs memory leak happened in the config validation, updating and http requests. 2247:baa6b9879267 Sun Nov 20 15:16:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Basic njs support.
|
H A D | nxt_listen_socket.c | diff 2378:0f675fecf180 Thu Mar 16 00:42:00 UTC 2023 Andrew Clayton <a.clayton@nginx.com> Improve an error message regarding Unix domain sockets.
When starting unit, if its Unix domain control socket was already active you would get an error message like
2023/03/15 18:07:55 [alert] 53875#8669650 connect(5, unix:/tmp/control.sock) succeed, address already in use
which is confusing in a couple of regards, firstly we have the classic success/failure message and secondly 'address already in use' is an actual errno value, EADDRINUSE and we didn't get an error from this connect(2).
Re-word this error message for greater clarity.
Reported-by: Liam Crilly <liam.crilly@nginx.com> Cc: Liam Crilly <liam.crilly@nginx.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com> diff 494:7c83ddcc1c42 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Fixed formatting in nxt_sprintf() and logging. diff 493:745222d540a2 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Using size_t for the field width type of the "%*s" specifier. diff 312:c156aea91063 Thu Sep 14 15:16:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Fixed textual socket name lengths and Unix domain sockaddr length. diff 211:6738bb76ae0a Wed Aug 16 11:16:00 UTC 2017 Ruslan Ermilov <ru@nginx.com> Corrected path to nxt_socket.h in comments. diff 211:6738bb76ae0a Wed Aug 16 11:16:00 UTC 2017 Ruslan Ermilov <ru@nginx.com> Corrected path to nxt_socket.h in comments. diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
|
H A D | nxt_conn_accept.c | diff 493:745222d540a2 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Using size_t for the field width type of the "%*s" specifier. diff 338:2c6135a99c27 Wed Sep 27 16:43:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Fixed building by modern GCC. diff 337:854a1a440616 Wed Sep 27 16:22:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Event engine memory cache for nxt_sockaddr_t.
Introducing event engine memory cache and using the cache for nxt_sockaddr_t structures. diff 312:c156aea91063 Thu Sep 14 15:16:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Fixed textual socket name lengths and Unix domain sockaddr length. diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
|
H A D | nxt_sockaddr.h | diff 337:854a1a440616 Wed Sep 27 16:22:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Event engine memory cache for nxt_sockaddr_t.
Introducing event engine memory cache and using the cache for nxt_sockaddr_t structures. diff 110:b367ad00650d Thu Jun 29 16:25:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Fixed port processing in nxt_sockaddr_text(). diff 99:f7ff1263f690 Tue Jun 27 16:06:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_sockaddr_parse() introducted. diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
|
H A D | nxt_clone.h | diff 1595:d1884e46cf71 Wed Sep 16 16:52:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Isolation: remove redundant macro. diff 1595:d1884e46cf71 Wed Sep 16 16:52:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Isolation: remove redundant macro. diff 1488:6976d36be926 Mon Mar 09 16:28:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Refactor of process management.
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. diff 1306:3604d05e48be Fri Dec 06 16:52:00 UTC 2019 Tiago Natel <t.nateldemoura@f5.com> Isolation: allowed the use of credentials with unpriv userns.
The setuid/setgid syscalls requires root capabilities but if the kernel supports unprivileged user namespace then the child process has the full set of capabilities in the new namespace, then we can allow setting "user" and "group" in such cases (this is a common security use case).
Tests were added to ensure user gets meaningful error messages for uid/gid mapping misconfigurations.
|
H A D | nxt_router_request.h | diff 1829:8fb5cbfe761a Thu Mar 25 11:16:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Releasing shm buffers for large body requests.
This fixes memory and shm file descriptor leakage that occurred when a large request body was passed via shared memory. The leakage was caught with the "test_settings_body_buffer_size" test. The main condition is the "body_buffer_size" value exceeding 10 Mb (a shm segment). Thus, the router was forced to split the body into several shm segments, but these buffers were not freed because of dummy completion handlers. diff 1555:1d84b9e4b459 Tue Aug 11 16:20:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Introducing application and port shared memory queues.
The goal is to minimize the number of syscalls needed to deliver a message. diff 1547:cbcd76704c90 Tue Aug 11 16:20:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Introducing the shared application port.
This is the port shared between all application processes which use it to pass requests for processing. Using it significantly simplifies the request processing code in the router. The drawback is 2 more file descriptors per each configured application and more complex libunit message wait/read code.
|
H A D | nxt_h1proto.h | diff 2505:450bf52c3a2c Fri Jun 30 16:18:00 UTC 2023 Zhidao HONG <z.hong@f5.com> Var: supported HTTP response header variables.
This commit adds the variable $response_header_NAME. diff 1505:d18f2b38596b Tue Jun 23 11:16:00 UTC 2020 Igor Sysoev <igor@sysoev.ru> Upstream chunked transfer encoding support.
|
H A D | nxt_thread_pool.c | diff 494:7c83ddcc1c42 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Fixed formatting in nxt_sprintf() and logging. diff 1:fdc027c56872 Mon Jan 23 16:56:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Introducing tasks.
|
H A D | nxt_sockaddr.c | diff 2141:c820888cd98c Thu Jun 16 01:00:00 UTC 2022 Andrew Clayton <andrew@digital-domain.net> Socket: removed useless port < 1 check.
In src/nxt_sockaddr.c::nxt_job_sockaddr_inet_parse() there is a check that port > 0 then there is a check that port < 1 || port > 65535, well we _know_ it can't be less than 1. diff 493:745222d540a2 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Using size_t for the field width type of the "%*s" specifier. diff 337:854a1a440616 Wed Sep 27 16:22:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Event engine memory cache for nxt_sockaddr_t.
Introducing event engine memory cache and using the cache for nxt_sockaddr_t structures. diff 211:6738bb76ae0a Wed Aug 16 11:16:00 UTC 2017 Ruslan Ermilov <ru@nginx.com> Corrected path to nxt_socket.h in comments. diff 211:6738bb76ae0a Wed Aug 16 11:16:00 UTC 2017 Ruslan Ermilov <ru@nginx.com> Corrected path to nxt_socket.h in comments. diff 110:b367ad00650d Thu Jun 29 16:25:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Fixed port processing in nxt_sockaddr_text(). diff 99:f7ff1263f690 Tue Jun 27 16:06:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_sockaddr_parse() introducted. diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation. diff 10:a8e68ed06863 Wed Feb 01 16:20:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_str_t changes. diff 1:fdc027c56872 Mon Jan 23 16:56:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Introducing tasks.
|
/unit/test/perl/variables/ |
H A D | psgi.pl | diff 581:b505e4d4f864 Mon Mar 19 16:03:00 UTC 2018 Andrey Zelenkov <zelenkov@nginx.com> Tests: more Perl tests. 544:c4bbb14c5bdb Mon Feb 12 16:32:00 UTC 2018 Andrey Zelenkov <zelenkov@nginx.com> Tests: perl module.
|
/unit/test/unit/check/ |
H A D | go.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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. diff 2263:f9f47ce86315 Mon Dec 12 16:24:00 UTC 2022 Andrei Zeliankou <zelenkov@nginx.com> Tests: pretty output.
Hide expected alerts by default. Silence succesfull "go build" information. diff 1880:00dc6b211906 Tue May 25 15:00:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Go: fixing tests for Go 1.16.
In Go 1.16, the module-aware mode is enabled by default; to fall back to previous behavior, the GO111MODULE environment variable should be set to 'auto'.
Details: https://golang.org/doc/go1.16 diff 1706:a1da56837554 Mon Nov 16 17:37:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: fixing tests interrupt in terminal.
KeyboardInterrupt re-raised.
|
/unit/src/test/ |
H A D | nxt_clone_test.c | diff 1439:32578e837322 Mon Mar 30 16:37:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Configuration: support for rational numbers. 1306:3604d05e48be Fri Dec 06 16:52:00 UTC 2019 Tiago Natel <t.nateldemoura@f5.com> Isolation: allowed the use of credentials with unpriv userns.
The setuid/setgid syscalls requires root capabilities but if the kernel supports unprivileged user namespace then the child process has the full set of capabilities in the new namespace, then we can allow setting "user" and "group" in such cases (this is a common security use case).
Tests were added to ensure user gets meaningful error messages for uid/gid mapping misconfigurations.
|
/unit/test/ |
H A D | test_go_isolation.py | diff 2490:45db3fe68259 Mon Jun 12 16:28:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: removed alert skip, unnecessary after 1a48ea61fec8. diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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. diff 1768:3a9850ceccfc Thu Jan 07 16:51:00 UTC 2021 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: reordered asserts to avoid a test race.
The mount points are unmounted in the main process after it detects the app process died. By testing the `tmpfs: true` first, it happens that main could start the `tmpfs: false` test case before main cleans the old process mount points. diff 1740:53149d20bb97 Wed Dec 09 16:15:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: isolation check moved to the pytest_sessionstart().
This change eliminates the need for some classes to run Unit one more time before running tests. diff 1730:44912af5b3e6 Sun Dec 06 16:01:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: options moved to the separate class.
This change is necessary to separate the logic and prevent possible circular dependency. diff 1707:d718554dd379 Mon Nov 16 17:22:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: tmpfs automount. diff 1706:a1da56837554 Mon Nov 16 17:37:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: fixing tests interrupt in terminal.
KeyboardInterrupt re-raised. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest. diff 1296:77f76e7b800f Tue Nov 26 16:00:00 UTC 2019 Tiago Natel <t.nateldemoura@f5.com> Tests: added getjson() helper.
|
H A D | test_ruby_isolation.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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. diff 1740:53149d20bb97 Wed Dec 09 16:15:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: isolation check moved to the pytest_sessionstart().
This change eliminates the need for some classes to run Unit one more time before running tests. diff 1737:9be01e5d6ce5 Tue Dec 08 16:38:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: fixed ruby isolation.
While alternating between running priv and unpriv tests locally, it happens that unpriv tests can't bind mount or create sub directories inside directories created by root. This patch fixes this by pointing "rootfs" to temporary directory.
Now the priv and unpriv test uses the same test function. diff 1730:44912af5b3e6 Sun Dec 06 16:01:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: options moved to the separate class.
This change is necessary to separate the logic and prevent possible circular dependency. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
|
/unit/pkg/docker/ |
H A D | Dockerfile.minimal | diff 2285:46bcdb963de6 Thu Dec 15 16:17:00 UTC 2022 Konstantin Pavlov <thresh@nginx.com> Merged with the default branch. diff 2200:16e01c5fead4 Tue Sep 13 09:17:00 UTC 2022 Konstantin Pavlov <thresh@nginx.com> Merged with the default branch. diff 1645:29efab062b4e Thu Oct 08 16:19:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch. diff 1573:79f364e9aa90 Thu Aug 13 16:28:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch. diff 1571:86cdf66f8274 Thu Aug 13 16:22:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Generated Dockerfiles for Unit 1.19.0. diff 1463:e0658022962c Thu Apr 16 15:27:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch. diff 1461:4b13438632bc Thu Apr 16 14:49:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Generated Dockerfiles for Unit 1.17.0. diff 1287:439bd957eeb4 Thu Nov 14 16:29:00 UTC 2019 Andrei Belov <defan@nginx.com> Merged with the default branch. diff 1285:3313bf222e6e Thu Nov 14 16:24:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Generated Dockerfiles for Unit 1.13.0. diff 1188:282c8f9fe43c Thu Sep 19 16:04:00 UTC 2019 Konstantin Pavlov <thresh@nginx.com> Merged with the default branch.
|