Commit Graph
100 Commits
Author SHA1 Message Date
Andrei Zeliankou bcff62d267 Tests: fixed session reuse tests.
Since SSL_CTX_sess_set_cache_size() can't guarantee the size
of the cache there is no need to test edge "cache_size" values.
2021-11-15 12:15:23 +00:00
Andrei Zeliankou ae03585238 Tests: refactored working with processes. 2021-11-15 12:13:54 +00:00
Andrei Zeliankou 6961de1d64 Tests: added more tests for "query" routing pattern. 2021-11-10 15:43:24 +00:00
Andrei Zeliankou 8c253631d9 Tests: added "requirements.txt". 2021-11-04 18:13:19 +00:00
Andrei Zeliankou bc95fcc324 Tests: added migration test for "share". 2021-11-04 13:05:53 +00:00
Andrei Zeliankou 2359c4056c Tests: added pyOpenSSL module check were necessary. 2021-11-02 18:39:03 +00:00
Andrei Zeliankou c27d0fe7bd Tests: removed unused imports. 2021-11-02 17:53:28 +00:00
Andrei Zeliankou bd9da8bc8c Tests: added tests for TLS session tickets. 2021-10-28 18:30:37 +01:00
Andrei Zeliankou e428f2cf7a Tests: added tests for TLS sessions. 2021-10-28 17:15:38 +01:00
Andrei Zeliankou 39adb292d5 Tests: style. 2021-10-18 01:10:11 +01:00
Andrei Zeliankou 5c20d43eff Tests: added tests for variables in "chroot". 2021-10-05 12:43:05 +01:00
Andrei Zeliankou a59557ccd7 Tests: added tests for variables in "share". 2021-10-05 12:42:41 +01:00
Andrei Zeliankou 22028549c6 Tests: added tests for "share" option with arrays. 2021-10-05 03:24:56 +01:00
Andrei Zeliankou 960ffc9967 Tests: added SNI test without hostname in request. 2021-07-23 15:37:03 +01:00
Andrei Zeliankou 4f94df6a71 Tests: print_log_on_assert() decorator introduced. 2021-07-06 12:22:10 +01:00
Andrei Zeliankou bc84992075 Tests: address configuration tests reworked. 2021-07-03 19:15:04 +01:00
Andrei Zeliankou b86891c4ef Tests: renamed share to static.
Also minor style changes.
2021-06-28 22:05:40 +01:00
Andrei Zeliankou 72420358be Tests: chroot test with permissions skipped under root. 2021-06-24 04:01:15 +01:00
Andrei Zeliankou f91fe4ce9e Tests: added tests for TLS "conf_commands" option. 2021-05-27 13:30:51 +01:00
Andrei Zeliankou 753ce145f7 Tests: added TLS test without close notify. 2021-05-26 21:47:12 +01:00
Andrei Zeliankou 39c0fda24c Tests: added additional check in tests with timeouts. 2021-05-24 22:28:23 +01:00
Andrei Zeliankou 1154ede862 Tests: test_settings_send_timeout improved.
Data length adjusts depending on socket buffer size when it's possible.
2021-05-24 05:26:15 +01:00
Andrei Zeliankou d643900237 Tests: minor fixes. 2021-05-24 04:33:42 +01:00
Andrei Zeliankou 2f0cca2e2b Tests: added test to check port release. 2021-05-18 16:35:54 +01:00
Andrei Zeliankou 1198118b3b Tests: fixed incorrect "--restart" mode performing. 2021-05-17 15:39:15 +01:00
Andrei Zeliankou 25603eae9f Tests: added test for TLS with IP in SAN. 2021-05-12 14:37:25 +01:00
Andrei Zeliankou 07c6bf165d Tests: temporary dir removed after tests execution. 2021-05-11 15:30:12 +01:00
Andrei Zeliankou a17f7e03d4 Tests: added test for TLS with empty Subject field. 2021-05-07 17:42:48 +01:00
Andrei Zeliankou b9e8d8073c Tests: PHP test with getting variable before the script is loaded. 2021-05-07 16:55:42 +01:00
Andrei Zeliankou e0a061955b Tests: added tests for openat2() features. 2021-05-05 12:36:57 +01:00
Andrei Zeliankou 5b332cae83 Tests: fixed "skip" descriptors check flag for controller. 2021-04-14 15:56:03 +01:00
Andrei Zeliankou 6c97a1a069 Tests: style. 2021-04-05 14:03:05 +01:00
Andrei Zeliankou 46d8567dd7 Tests: unset LC_ALL variable in Ruby encoding test.
This change is necessary to set Encoding.default_external value correctly.
2021-04-01 00:05:44 +01:00
Andrei Zeliankou f43265ba2c Tests: removed skip_alert(). 2021-03-31 23:42:00 +01:00
Andrei Zeliankou 0ae75733f7 Tests: added file descriptor leak detection. 2021-03-31 03:24:01 +01:00
Andrei Zeliankou e8577afc21 Tests: SNI. 2021-03-26 21:06:23 +00:00
Andrei Zeliankou c093ee7ec5 Tests: added test for Ruby default encoding. 2021-03-26 15:42:58 +00:00
Andrei Zeliankou d0591f07d7 Tests: fixed tests to work without openssl support. 2021-02-23 22:25:47 +00:00
Andrei Zeliankou af3b6ef37d Tests: added regex check. 2021-02-18 21:21:55 +00:00
Andrei Zeliankou cf530e19bc Tests: clear certificates after each test. 2021-02-15 03:11:26 +00:00
Andrei Zeliankou 11f7d833a9 Tests: increased timeout in wait_for_record(). 2021-02-10 16:34:37 +00:00
Andrei Zeliankou 4404097e05 Tests: added "--restart" option.
Now Unit do not restart after each test by default.
2021-02-08 23:32:27 +00:00
Andrei Zeliankou 42725137f7 Tests: added tests for "path" option in Python application. 2021-02-04 15:09:54 +00:00
Andrei Zeliankou d43a84139d Tests: added missing checks for configuration results. 2021-01-14 03:04:20 +00:00
Andrei Zeliankou 5d983ea762 Tests: added test for "procfs" option. 2021-01-13 06:24:41 +00:00
Andrei Zeliankou 22dac5bd62 Tests: "language_deps" option checked more carefully. 2021-01-13 06:24:32 +00:00
Andrei Zeliankou db9b70932b Tests: waitformount() and waitforunmount() introduced. 2021-01-13 06:24:26 +00:00
Andrei Zeliankou 6dc9c47ccd Tests: style. 2021-01-13 06:22:43 +00:00
Andrei Zeliankou f5ac143246 Tests: unit_stop() removed where possible.
Since wait_for_record() was introduced there is no need
to stop Unit before parsing unit.log.
2021-01-12 06:20:23 +00:00
Andrei Zeliankou 425ffc9416 Tests: hyphen sign used unstead of underscore as more common. 2020-12-12 20:08:03 +00:00
Andrei Zeliankou 16ac829c8f Tests: added tests for PHP_AUTH_* variables. 2020-12-10 19:28:41 +00:00
Andrei Zeliankou 7be62c3c21 Tests: TestUnit class removed.
Prerequisite checks moved to the fixture in conftest.py.
2020-12-09 16:17:46 +00:00
Andrei Zeliankou 4c846ae693 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.
2020-12-09 16:15:50 +00:00
Andrei Zeliankou b2e767819f Tests: skip_alert() converted to the fixture. 2020-12-08 14:37:33 +00:00
Andrei Zeliankou 8f91628563 Tests: utils module introduced. 2020-12-08 14:37:25 +00:00
Andrei Zeliankou 07789a23e9 Tests: options moved to the separate class.
This change is necessary to separate the logic
and prevent possible circular dependency.
2020-12-06 16:01:59 +00:00
Andrei Zeliankou 18ddb74772 Tests: added tests for a "discard_unsafe_fields" option. 2020-11-19 05:21:48 +00:00
Andrei Zeliankou e154d7a3a2 Tests: style. 2020-11-19 05:21:22 +00:00
Andrei Zeliankou 3278253d51 Tests: added a test for "body_buffer_size" option. 2020-11-12 00:07:08 +00:00
Andrei Zeliankou a0ee50826a Tests: added a test for fastcgi_finish_request() function. 2020-11-11 14:24:40 +00:00
Andrei Zeliankou a29d970f10 Tests: disabled detailed output by default. 2020-11-03 01:32:40 +00:00
Andrei Zeliankou 5182d2c398 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.
2020-11-03 01:31:05 +00:00
Andrei Zeliankou 8956e668cc Tests: fixed isolation detection. 2020-10-27 04:09:52 +00:00
Andrei Zeliankou 54837759f3 Tests: fixed unit.log print. 2020-10-19 22:25:29 +01:00
Andrei Zeliankou 6ec0ff3596 Tests: minor fixes. 2020-10-07 23:18:43 +01:00
Andrei Zeliankou 37390d2a3b Tests: fixed tests to run as root. 2020-10-06 20:30:51 +01:00
Andrei Zeliankou 58cc73994f Tests: added websocket test with long length. 2020-10-05 11:05:19 +01:00
Andrei Zeliankou 152ad526f4 Tests: added ASGI Lifespan. 2020-10-05 11:05:00 +01:00
Andrei Zeliankou d491527555 Tests: minor fixes.
Fixed temporary dir removing.
Fixed printing path to log.
Module checks moved to the separate file.
2020-10-01 10:17:00 +01:00
Andrei Zeliankou 1fe1518ab1 Tests: fixed test_static_space_in_name. 2020-09-30 22:45:58 +01:00
Andrei Zeliankou 4de6ffa63f Tests: tuned delay in test_settings_idle_timeout_2. 2020-09-27 23:46:31 +01:00
Andrei Zeliankou 4095454946 Tests: added pytest.ini. 2020-09-27 23:27:19 +01:00
Andrei Zeliankou 98c86c415c Tests: added variable test with nonexistent upstream. 2020-09-21 21:29:34 +01:00
Andrei Zeliankou 39008c1f05 Tests: added test for "idle_timeout" with empty payload. 2020-09-21 21:24:42 +01:00
Andrei Zeliankou 7842c2d980 Added .hgignore file. 2020-09-18 19:37:56 +01:00
Andrei Zeliankou d5e9159340 Tests: migrated to the pytest. 2020-09-16 21:31:15 +01:00
Andrei Zeliankou df374057f7 Tests: $host varaible test.
Also added few tests for $uri and minor style fixes.
2020-08-31 03:14:02 +01:00
Andrei Zeliankou 8032686a57 Tests: added test with error on loading application. 2020-08-13 13:17:27 +01:00
Andrei Zeliankou c40e45344f Tests: added variables tests. 2020-08-13 13:17:01 +01:00
Andrei Zeliankou f1e445bdef Tests: added PHP test with time check in error log messages. 2020-07-28 04:53:40 +01:00
Andrei Zeliankou 355ed9697d Tests: fixed double stop() call for some tests. 2020-07-28 04:53:32 +01:00
Andrei Zeliankou dc1377dc48 Tests: style. 2020-07-28 03:09:50 +01:00
Andrei Zeliankou 9bd6baefae Tests: fixed opcache detection.
opcache_get_status() returns array, so square brackets
should be used to access "opcache_enabled" value.
2020-06-26 04:23:47 +01:00
Andrei Zeliankou 6e55f03dcd Tests: added chunked tests. 2020-06-24 04:11:09 +01:00
Andrei Zeliankou fa4d4b6120 Tests: print unit.log in case of errors.
Thanks to hongzhidao.
2020-05-20 23:06:56 +01:00
Andrei Zeliankou 82471c1dd3 Tests: added tests for "targets" option. 2020-05-15 04:21:25 +01:00
Andrei Zeliankou ea841400f5 Tests: added test for encoding in the "pass" option. 2020-05-15 04:21:10 +01:00
Andrei Zeliankou ce4a2bbd05 Tests: style. 2020-05-15 04:20:56 +01:00
Andrei Zeliankou cf73fb8093 Tests: test_proxy_invalid simplified. 2020-05-15 04:20:45 +01:00
Andrei Zeliankou d803ec39bc Tests: added respawn tests. 2020-05-12 17:59:47 +01:00
Andrei Zeliankou 6a9a4fe0d4 Tests: introduced module version specification in prerequisites. 2020-04-24 05:08:56 +01:00
Andrei Zeliankou 8f6e6086cb Tests: skips adjusted. 2020-04-20 14:04:55 +01:00
Andrei Zeliankou 3c58a4bfc1 Tests: added test with rescheduling requests. 2020-04-14 03:02:16 +01:00
Andrei Zeliankou 0bfa09dfa0 Tests: minor fixes and style. 2020-04-14 02:35:04 +01:00
Andrei Zeliankou a49023229e Tests: use "return" action in upstream tests. 2020-04-03 01:49:18 +01:00
Andrei Zeliankou d7aa514d6a Tests: added notification on "read_timeout" expiration. 2020-04-03 01:46:59 +01:00
Andrei Zeliankou 2bb8b3d88a Tests: minor fixes. 2020-04-03 01:03:26 +01:00
Andrei Zeliankou 5954839773 Tests: added tests for rational numbers in upstream server weight. 2020-03-30 18:44:50 +01:00
Andrei Zeliankou f94e31b294 Tests: added tests for "location" option. 2020-03-27 17:29:45 +00:00
Andrei Zeliankou 6e5b5d2a0b Tests: added tests for "return" action. 2020-03-27 15:50:09 +00:00