Home
last modified time | relevance | path

Searched hist:2020 (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/unit/test/
H A Dtest_php_isolation.pydiff 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 1673:883f2f79c2f6 Thu Oct 29 20:30:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Isolation: mounting of procfs by default when using "rootfs".
diff 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1622:773f29e26072 Wed Sep 09 18:28:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> PHP: fixed "rootfs" isolation dependency on system mounts.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1586:d5a1df78d9af Tue Aug 25 14:27:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: disable of language_deps.
diff 1584:639ad4601177 Tue Aug 25 12:48:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: PHP extension mounts.
1490:cecf6b11a1e3 Thu May 28 13:59:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: Added rootfs tests.
H A Dpytest.inidiff 1743:1823689e1cf8 Sat Dec 12 20:08:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: hyphen sign used unstead of underscore as more common.
diff 1679:a8f3007c9756 Tue Nov 03 01:32:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: disabled detailed output by default.
diff 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
1612:8265318efa4d Sun Sep 27 22:27:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: added pytest.ini.
H A Dtest_ruby_isolation.pydiff 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 1673:883f2f79c2f6 Thu Oct 29 20:30:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Isolation: mounting of procfs by default when using "rootfs".
diff 1672:1b93d4f6fc0a Thu Oct 29 14:31:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: added new ruby isolation test without namespaces.
diff 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1632:f9589b78bbb3 Tue Oct 06 19:30:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed tests to run as root.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
1490:cecf6b11a1e3 Thu May 28 13:59:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: Added rootfs tests.
H A Dtest_usr1.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
diff 1735:a0e0d4f90e51 Tue Dec 08 14:37:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: utils module introduced.
diff 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
diff 1467:195fe0a92670 Fri Apr 24 04:08:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: introduced module version specification in prerequisites.
diff 1453:71af60a59338 Tue Apr 14 01:35:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes and style.
diff 1437:1990c369a0b9 Mon Mar 30 11:18:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Handling change file message in libunit.

This is required for proper log file rotation action.
diff 1397:5fd52d94ff40 Thu Mar 12 13:48:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed race in USR1 signal tests.

Also, minor style fixes applied.
H A Dtest_proxy.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
diff 1736:22db875fda34 Tue Dec 08 14:37:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: skip_alert() converted to the fixture.
diff 1735:a0e0d4f90e51 Tue Dec 08 14:37:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: utils module introduced.
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 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
diff 1476:e3f7d7ca6f39 Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: test_proxy_invalid simplified.
diff 1467:195fe0a92670 Fri Apr 24 04:08:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: introduced module version specification in prerequisites.
H A Dtest_upstreams_rr.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
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 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
diff 1467:195fe0a92670 Fri Apr 24 04:08:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: introduced module version specification in prerequisites.
diff 1445:5a603827ec10 Fri Apr 03 00:49:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: use "return" action in upstream tests.
diff 1441:b2caecb224f7 Mon Mar 30 17:44:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: added tests for rational numbers in upstream server weight.
1396:cb1fac1a237f Thu Mar 12 13:47:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: round robin upstream tests.
H A Dtest_proxy_chunked.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
diff 1735:a0e0d4f90e51 Tue Dec 08 14:37:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: utils module introduced.
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 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1527:89bc2fef480b Tue Jul 28 02:09:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
1506:b070370e07f8 Wed Jun 24 03:11:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: added chunked tests.
H A Dtest_python_isolation_chroot.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
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 1703:830ecc4a587c Thu Nov 12 00:04:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: removed test case that reuses rootfs path.

Different applications cannot reuse the same rootfs path
if not using namespaces because of globally visible
builtin mount points.
diff 1673:883f2f79c2f6 Thu Oct 29 20:30:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Isolation: mounting of procfs by default when using "rootfs".
diff 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
1490:cecf6b11a1e3 Thu May 28 13:59:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: Added rootfs tests.
H A Dtest_go_isolation.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
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 1673:883f2f79c2f6 Thu Oct 29 20:30:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Isolation: mounting of procfs by default when using "rootfs".
diff 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1581:a1a83bef4471 Thu Aug 20 14:53:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: default tmpfs in rootfs.
H A Dtest_java_isolation_rootfs.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
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 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 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1621:275b26bbd3ae Thu Oct 01 09:17:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.

Fixed temporary dir removing.
Fixed printing path to log.
Module checks moved to the separate file.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
1490:cecf6b11a1e3 Thu May 28 13:59:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: Added rootfs tests.
H A Dtest_return.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
diff 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
diff 1443:433622b9cc55 Fri Apr 03 00:03:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1441:b2caecb224f7 Mon Mar 30 17:44:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: added tests for rational numbers in upstream server weight.
diff 1435:b7131bfeb438 Fri Mar 27 17:29:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: added tests for "location" option.
1434:7e6a2071f723 Fri Mar 27 15:50:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: added tests for "return" action.
H A Dtest_java_websockets.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
diff 1736:22db875fda34 Tue Dec 08 14:37:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: skip_alert() converted to the fixture.
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 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
diff 1467:195fe0a92670 Fri Apr 24 04:08:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: introduced module version specification in prerequisites.
diff 1453:71af60a59338 Tue Apr 14 01:35:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes and style.
diff 1443:433622b9cc55 Fri Apr 03 00:03:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
H A Dtest_python_isolation.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
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 1673:883f2f79c2f6 Thu Oct 29 20:30:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Isolation: mounting of procfs by default when using "rootfs".
diff 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1622:773f29e26072 Wed Sep 09 18:28:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> PHP: fixed "rootfs" isolation dependency on system mounts.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
1490:cecf6b11a1e3 Thu May 28 13:59:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: Added rootfs tests.
H A Dtest_respawn.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
diff 1736:22db875fda34 Tue Dec 08 14:37:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: skip_alert() converted to the fixture.
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 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
1471:38ede0766e1a Tue May 12 16:59:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: added respawn tests.
/unit/test/unit/
H A Dhttp.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
diff 1741:8c05e9ddbffb Wed Dec 09 16:17:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: TestUnit class removed.

Prerequisite checks moved to the fixture in conftest.py.
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 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 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1608:283a8bcf8d2e Mon Sep 21 21:40:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: using dict.get() method with default value.

No functional changes. Only code readability improved.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
diff 1453:71af60a59338 Tue Apr 14 01:35:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes and style.
H A Dcontrol.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
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 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
/unit/src/python/
H A Dnxt_python_asgi.hdiff 1715:95874fd97501 Wed Nov 18 19:33:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Libunit: closing active requests on quit.
diff 1697:73a335d2911d Tue Nov 10 19:27:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Python: supporting ASGI legacy protocol.

Introducing manual protocol selection for 'universal' apps and frameworks.
diff 1681:542b5b8c0647 Wed Nov 04 21:04:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Python: request processing in multiple threads.

This closes #459 issue on GitHub.
1624:e46b1b422545 Thu Oct 01 20:55:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Python: ASGI server introduced.

This closes #461 issue on GitHub.
/unit/src/
H A Dnxt_unit.hdiff 1713:f5ba5973a0a3 Wed Nov 18 19:33:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Go: removing C proxy functions and re-using goroutines.
diff 1710:e598cd15bd91 Wed Nov 18 19:33:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Libunit: improving logging consistency.

Debug logging depends on macros defined in nxt_auto_config.h.
diff 1666:c224d375d89b Tue Oct 27 21:01:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Router: introducing the PORT_ACK message.

The PORT_ACK message is the router's response to the application's NEW_PORT
message. After receiving PORT_ACK, the application is safe to process requests
using this port.

This message avoids a racing condition when the application starts processing a
request from the shared queue and sends REQ_HEADERS_ACK. The REQ_HEADERS_ACK
message contains the application port ID as reply_port, which the router uses
to send request data. When the application creates a new port, it
immediately sends it to the main router thread. Because the request is
processed outside the main thread, a racing condition can occur between the
receipt of the new port in the main thread and the receipt of REQ_HEADERS_ACK
in the worker router thread where the same port is specified as reply_port.
diff 1664:7bf400458d40 Tue Oct 27 21:01:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Libunit: added a function to discern main and worker contexts.
diff 1663:08a83734a986 Tue Oct 27 21:01:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Libunit: gracefully quitting a multicontext application.
diff 1623:7cdddbe0fb45 Thu Oct 01 20:55:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Publishing libunit's malloc() and free() wrappers for apps.
diff 1602:5f7638bf724e Fri Sep 18 10:46:00 UTC 2020 Artem Konev <artem.konev@nginx.com> Updated racially charged language in messages and comments.
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 Dnxt_http_proxy.cdiff 1589:a80bba0c55f2 Mon Sep 07 12:21:00 UTC 2020 Igor Sysoev <igor@sysoev.ru> Upstream connection was not closed for short chunked response.
diff 1505:d18f2b38596b Tue Jun 23 11:16:00 UTC 2020 Igor Sysoev <igor@sysoev.ru> Upstream chunked transfer encoding support.
diff 1394:20b41ebfff79 Fri Mar 06 15:28:00 UTC 2020 Igor Sysoev <igor@sysoev.ru> Round robin upstream added.
/unit/test/unit/applications/lang/
H A Dpython.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
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 1697:73a335d2911d Tue Nov 10 19:27:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Python: supporting ASGI legacy protocol.

Introducing manual protocol selection for 'universal' apps and frameworks.
diff 1695:48cd8f20dea4 Tue Nov 10 19:27:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: supporting instant app parameters in load().
diff 1670:099c23b00eaf Tue Oct 27 21:01:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: improving get_application_type() and fixing its name.

This patch also enables multiversion tests running for Java.
diff 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1610:ee2f7cc0f36c Tue Sep 22 16:53:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: introduced module name configuration.

Also fixed problem with "/" in application name.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1527:89bc2fef480b Tue Jul 28 02:09:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
H A Dphp.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
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 1673:883f2f79c2f6 Thu Oct 29 20:30:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Isolation: mounting of procfs by default when using "rootfs".
diff 1670:099c23b00eaf Tue Oct 27 21:01:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: improving get_application_type() and fixing its name.

This patch also enables multiversion tests running for Java.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1634:07f93fcfa12a Wed Oct 07 19:04:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Tests: fixed loading selected module version.

Previously, for PHP, Ruby, and Perl the latest version was always loaded
in multi-version tests.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1381:6c76371a7a75 Tue Mar 03 18:53:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: chdir() and open() for PHP module.

These tests ensure optimizations in the chdir calls don't break
SAPI semantics.
H A Dgo.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
diff 1757:200f477978ab Mon Dec 21 11:00:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: introduced a separate cache directory for Go builds.

The Go compiler can't detect changes to C header files when
compiling CGO applications, and then this leads to Go test
samples being linked with wrong libunit.

This patch creates a new cache directory reused throughout
the test suite.
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 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 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1621:275b26bbd3ae Thu Oct 01 09:17:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.

Fixed temporary dir removing.
Fixed printing path to log.
Module checks moved to the separate file.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1490:cecf6b11a1e3 Thu May 28 13:59:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: Added rootfs tests.
diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
H A Dnode.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
diff 1735:a0e0d4f90e51 Tue Dec 08 14:37:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: utils module introduced.
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 1657:0821c0c05a9f Tue Oct 27 04:09:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed isolation detection.
diff 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1621:275b26bbd3ae Thu Oct 01 09:17:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.

Fixed temporary dir removing.
Fixed printing path to log.
Module checks moved to the separate file.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
diff 1472:88536f5bd13f Thu May 14 10:15:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Configuration: URI encoding in the "pass" option.

This is useful to escape "/" in path fragments. For example, in order
to reference the application named "foo/bar":

{
"pass": "applications/foo%2Fbar"
}
H A Djava.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
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 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 1678:a9042510f953 Tue Nov 03 01:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: force applications to build for JVM 8.

This change is made to avoid situations when an application
is compiled for a version newer than the Java module used.
diff 1677:ccd5c695b739 Mon Nov 02 18:05:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Java: upgrading 3rd-party components.
diff 1670:099c23b00eaf Tue Oct 27 21:01:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: improving get_application_type() and fixing its name.

This patch also enables multiversion tests running for Java.
diff 1657:0821c0c05a9f Tue Oct 27 04:09:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed isolation detection.
diff 1654:fc7d0578e124 Mon Oct 19 21:25:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: fixed unit.log print.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1621:275b26bbd3ae Thu Oct 01 09:17:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.

Fixed temporary dir removing.
Fixed printing path to log.
Module checks moved to the separate file.
/unit/test/unit/applications/
H A Dwebsockets.pydiff 2330:4b1f175f9c88 Tue Feb 21 17:21:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> 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.
diff 1635:97afbb6c5a15 Wed Oct 07 22:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes.
diff 1625:d7215787a23a Thu Oct 01 20:55:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: added ASGI WebSocket.
diff 1609:b5a7b5e94f1d Mon Sep 21 21:40:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: improved response receiving while upgrade.

The patch required to process non-101 response.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
diff 1444:8f7f7970c07a Fri Apr 03 00:46:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: added notification on "read_timeout" expiration.
diff 1433:bcdf5daaf688 Fri Mar 27 15:48:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: increase default "read_timeout" to 60s in message_read().
diff 1424:449e7e7d25c9 Mon Mar 23 19:18:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: increase default "read_timeout" value to 60s.

This change is necessary to avoid errors on slow hosts.

Also slightly reworked argument passing to the recvall() function.

12345678910>>...14