Commit Graph
100 Commits
Author SHA1 Message Date
Andrey Zelenkov ed3298a3c6 Tests: fixed operator in http.py. 2019-11-08 14:04:32 +03:00
Andrey Zelenkov 13b4538fc7 Tests: added test with invalid "working_directory" value. 2019-10-23 16:59:53 +03:00
Andrey Zelenkov d58fe3db98 Tests: more URI normalization tests. 2019-10-23 16:59:53 +03:00
Andrey Zelenkov 38cfe4cf3d Tests: added USR1 signal test for unit.log. 2019-10-23 16:59:53 +03:00
Andrey Zelenkov 1033cfa3b0 Tests: more static tests. 2019-10-23 16:59:53 +03:00
Andrey Zelenkov 47436e9be5 Tests: improved handshake for websocket tests. 2019-10-23 16:26:06 +03:00
Andrey Zelenkov f878b6eea5 Tests: style. 2019-10-23 16:05:52 +03:00
Andrey Zelenkov f5b1ac0dc6 Tests: check initial configuration in test_access_log.py. 2019-10-23 16:05:44 +03:00
Andrey Zelenkov 31bbc755fd Tests: check initial configuration in test_routing.py. 2019-10-23 16:05:40 +03:00
Andrey Zelenkov 1bece759a3 Tests: added flush() in "errors_write" Python application. 2019-10-23 16:05:35 +03:00
Andrey Zelenkov 486b202cc1 Tests: default port number used. 2019-10-08 00:28:40 +03:00
Andrey Zelenkov faf4ad5478 Tests: increased subprocess timeout on Unit exit.
Also changed order of subprocess status checks.
_terminate_process() method removed.
2019-10-08 00:28:40 +03:00
Andrey Zelenkov d82f125368 Tests: fixed hanging of Go tests.
This closes #319 issue on GitHub.
2019-09-25 19:21:42 +03:00
Andrey Zelenkov 702ca2b853 Tests: static tests with file system objects. 2019-09-24 16:13:20 +03:00
Andrey Zelenkov 2503226729 Tests: serving static files. 2019-09-19 17:11:37 +03:00
Andrey Zelenkov 26fcb46137 Tests: added read_buffer_size option in http(). 2019-09-18 00:25:57 +03:00
Andrey Zelenkov 23215c839f Tests: head() method introduced. 2019-09-17 21:15:15 +03:00
Andrey Zelenkov b5394c3956 Tests: fixed features check. 2019-09-16 17:49:49 +03:00
Andrey Zelenkov 65ca2d7b19 Tests: refactored prerequisites model. 2019-09-14 14:44:35 +03:00
Andrey Zelenkov 962cdb6659 Tests: prepare_env() introduced. 2019-09-16 15:37:32 +03:00
Andrey Zelenkov 13ecbe333a Tests: style and minor fixes in java.py. 2019-09-16 15:37:32 +03:00
Andrey Zelenkov a5b9c9241e Tests: more comments. 2019-09-16 15:37:32 +03:00
Andrey Zelenkov 7152162886 Tests: set default "unsafe" value. 2019-09-16 15:37:32 +03:00
Andrey Zelenkov f10a8a03a1 Tests: Java websockets tests. 2019-09-05 15:30:09 +03:00
Andrey Zelenkov 3e23afb0d2 Tests: increased read_timeout for websockets tests. 2019-09-03 21:23:32 +03:00
Andrey Zelenkov 1cfd329b3d Tests: fixed recv_bytes() in websockets.py. 2019-09-02 18:03:33 +03:00
Andrey Zelenkov 790b4f8f00 Tests: removed duplicate websocket tests. 2019-09-02 18:03:17 +03:00
Andrey Zelenkov 70e808040d Tests: prevented writing non-chopped frames to the closed socket. 2019-09-02 14:55:00 +03:00
Andrey Zelenkov cb36616132 Tests: prevented writing to the closed socket for websocket tests. 2019-08-30 16:59:35 +03:00
Andrey Zelenkov ccd6c0dc05 Tests: websockets style fixes. 2019-08-30 15:37:44 +03:00
Andrey Zelenkov c47af243b0 Tests: removed keepalive_interval for websocket tests.
Also increased read_timeout in frame_read() for slow hosts.
2019-08-22 21:28:03 +03:00
Andrey Zelenkov 72b56388b7 Tests: Node.js websockets tests tuned. 2019-08-22 18:28:23 +03:00
Andrey Zelenkov 9bbf54e23e Tests: Node.js websockets. 2019-08-22 15:33:41 +03:00
Andrey Zelenkov 08601bbbf0 Tests: "--unsafe" option introduced. 2019-08-22 15:26:15 +03:00
Andrey Zelenkov b4c09e2954 Tests: reverted rerun for Java tests in 5e429a7f133c.
Each testcase should also recompile to be recompiled.
So backed out for now.
2019-08-21 14:24:23 +03:00
Andrey Zelenkov 4d7576d323 Tests: print decoded strings in detailed mode, if possible. 2019-08-14 16:26:47 +03:00
Andrey Zelenkov ac316ff7a5 Tests: fixed port reusing to avoid access issues. 2019-08-14 15:53:58 +03:00
Andrey Zelenkov 8904c87c6b Tests: goftm used for Go applications. 2019-08-14 14:06:28 +03:00
Andrey Zelenkov b3b7013eda Tests: added tests for deleting listeners and applications objects. 2019-08-14 14:06:22 +03:00
Andrey Zelenkov 78fbf9ee60 Tests: fixed modules version parsing. 2019-08-08 15:47:26 +03:00
Andrey Zelenkov e8d1c760d6 Tests: Java multipart test. 2019-08-07 14:43:38 +03:00
Andrey Zelenkov c8c259b972 Tests: rerun tests for each module version.
Rerun supported for Python, PHP, Perl, Ruby, and Java modules.
2019-08-06 18:25:13 +03:00
Andrey Zelenkov fdf570f1d9 Tests: added delay before SIGQUIT in access_log partial tests.
This change is necessary to avoid race between
client connection close and Unit close.

Also "read_timeout" value decreased to speed up tests.
2019-08-01 18:15:00 +03:00
Andrey Zelenkov b1165d2edc Tests: fixed test_java_conf_error to pass with "--modules=" option. 2019-07-23 14:58:27 +03:00
Andrey Zelenkov a920215a5c Tests: more Java tests.
Added test with war file and error configuration test.
2019-07-17 17:48:35 +03:00
Andrey Zelenkov 4153fad89d Tests: added PHP tests with "script" and "index" options. 2019-07-17 16:50:24 +03:00
Andrey Zelenkov ce1fbd9273 Tests: simplified one route case configuration.
No functional changes.
2019-07-14 23:49:45 +03:00
Andrey Zelenkov b097476824 Tests: TestApplicationTLS.openssl_conf() introduced. 2019-07-14 23:49:37 +03:00
Andrey Zelenkov 72e987e110 Tests: check application configuration loading in TLS tests. 2019-07-14 23:49:31 +03:00
Andrey Zelenkov ff5413f109 Tests: removed unnecessary initialization.
That could leads to the incorrect behaviour in test_tls_application_respawn.
2019-07-14 23:47:49 +03:00
Andrey Zelenkov ee1f0365d2 Tests: removed unused import. 2019-07-14 23:47:07 +03:00
Andrey Zelenkov d7516e5f4e Tests: made openssl certificates more strong to avoid errors. 2019-07-08 20:46:06 +03:00
Andrey Zelenkov 4ea7d71405 Tests: added PATH_INFO variable test. 2019-07-08 19:23:33 +03:00
Andrey Zelenkov bcb9048c46 Tests: adjusted inactive interval in Java app for slow hosts. 2019-07-02 16:44:08 +03:00
Andrey Zelenkov 29225c4fc6 Tests: removed misleading comments in test_routing.t. 2019-07-02 15:36:13 +03:00
Andrey Zelenkov 7927c20b3b Tests: routing "cookies" tests. 2019-05-30 16:47:39 +03:00
Andrey Zelenkov c0ed2c02ab Tests: routing "arguments" tests. 2019-05-30 16:47:39 +03:00
Andrey Zelenkov 89bf008880 Tests: routing "headers" tests. 2019-05-30 16:47:39 +03:00
Andrey Zelenkov 67772cd3e9 Tests: fixed tests without "Host" header. 2019-05-30 16:47:39 +03:00
Andrey Zelenkov 90c5d3f5c0 Tests: adjusted skipping tests. 2019-05-30 16:46:04 +03:00
Andrey Zelenkov 7ad4a76704 Tests: configure arrays with PUT tests. 2019-05-30 16:44:14 +03:00
Andrey Zelenkov c4ed3025b3 Tests: more routing tests with arrays. 2019-04-26 17:35:32 +03:00
Andrey Zelenkov 2ceee3471e Tests: TestControl.conf_post() introduced. 2019-04-26 17:35:32 +03:00
Andrey Zelenkov bc4a1d86b9 Tests: TestControl refactored. 2019-04-26 17:35:31 +03:00
Andrey Zelenkov 644e6df687 Tests: check application configuration loading. 2019-04-26 17:35:26 +03:00
Andrey Zelenkov 7a559c6568 Tests: using blocking for large output. 2019-04-22 18:52:46 +03:00
Andrey Zelenkov 5d15d8449d Tests: read_timeout increased for incomplete requests.
Also fixed test without \"Host\" header.
2019-04-22 18:52:35 +03:00
Andrey Zelenkov 1c56579ebd Tests: fixed naming. 2019-04-22 18:37:46 +03:00
Andrey Zelenkov 0c12afbf6a Tests: using low-case header names in Node.js tests. 2019-04-18 19:27:12 +03:00
Andrey Zelenkov 704529e4b1 Tests: more wildcard pattern tests for routing. 2019-04-15 16:08:53 +03:00
Andrey Zelenkov b3179538ef Tests: wait more time on Unit closing. 2019-04-15 15:52:32 +03:00
Andrey Zelenkov 0f8a602c3c Tests: added time to handle requests in access_log partial tests. 2019-04-15 15:52:32 +03:00
Andrey Zelenkov ac7e65a722 Tests: check unitd availability before start. 2019-04-09 20:59:41 +03:00
Andrey Zelenkov dfb625789b Tests: read_timeout increased. 2019-04-09 20:59:41 +03:00
Andrey Zelenkov 29b4e4431f Tests: speed up tests. 2019-04-09 20:59:35 +03:00
Andrey Zelenkov 549f0873c2 Tests: wait_for_record() introduced. 2019-04-09 16:14:42 +03:00
Andrey Zelenkov cfcf4da7fa Tests: added "name" argument for search_in_log(). 2019-04-09 16:14:42 +03:00
Andrey Zelenkov 8c7411415a Tests: style. 2019-04-09 16:14:42 +03:00
Andrey Zelenkov af24e4dec4 Tests: simplified module checking. 2019-04-09 16:14:42 +03:00
Andrey Zelenkov 19eba1730a Tests: unit module refactoring. 2019-03-28 18:43:13 +03:00
Andrey Zelenkov 06b9a11494 Tests: speed up Java tests. 2019-03-26 23:39:15 +03:00
Andrey Zelenkov 281899fcef Tests: style. 2019-03-26 23:38:30 +03:00
Andrey Zelenkov 22de5fcddf Style. 2019-03-11 17:31:59 +03:00
Andrey Zelenkov ea844a4444 Tests: skip more alerts. 2019-03-01 18:58:16 +03:00
Andrey Zelenkov ae36276cfc Tests: made tests compatible with PHP 5.3. 2019-03-01 18:58:16 +03:00
Andrey Zelenkov 754b85c3ee Tests: Perl streaming body and delayed response simple tests. 2019-03-01 17:13:51 +03:00
Andrey Zelenkov c1751f9de6 Tests: specify ssl_version option.
TLS is explicitly selected to prevent using of SSL protocol
in ssl.get_server_certificate() call for Python 3.4 and older.
2019-02-28 21:19:32 +03:00
Andrey Zelenkov 38ea191fbb Tests: fixed PHP "disable_functions" and "disable_classes" tests. 2019-02-28 21:18:33 +03:00
Andrey Zelenkov 4b92586530 Tests: "Host" header tests. 2019-02-27 20:41:30 +03:00
Andrey Zelenkov 8488666d60 Tests: routing. 2019-02-27 19:46:27 +03:00
Andrey Zelenkov bd77c9a4d2 Tests: read_timeout option introduced.
Also, increased default select() timeout from 1s to 5s.
2019-02-27 19:43:14 +03:00
Andrey Zelenkov 4de2c8b567 Tests: added "Host" and "Connetion" headers where necessary.
Also minor header organizing.
2019-02-27 19:15:02 +03:00
Andrey Zelenkov 499096a55a Tests: one more alert skipped in test_json_application_many. 2019-02-20 20:46:23 +03:00
Andrey Zelenkov 955050aea3 Tests: skip sendmsg()/recvmsg() alerts for all tests.
Currently, these alerts may appear in the log when any application exits.
2019-02-20 20:28:29 +03:00
Andrey Zelenkov 09fb847cc7 Tests: removed test_http_header_transfer_encoding_chunked. 2019-02-20 20:24:05 +03:00
Andrey Zelenkov b2ca342902 Tests: JSON array allowed. 2019-02-20 20:20:02 +03:00
Andrey Zelenkov ac10bf8c7b Tests: fixed ports range. 2019-02-20 20:19:55 +03:00
Andrey Zelenkov ab40732c08 Tests: added tests for "Content-Length" header. 2019-02-14 16:09:58 +03:00
Andrey Zelenkov 0e5aaf60d4 Tests: headers with equal header fields allowed. 2019-02-14 16:09:54 +03:00
Andrey Zelenkov 7ce9f61cb6 Tests: minor fixes. 2019-02-14 16:09:19 +03:00