0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00
cowboy/test
Loïc Hoguin 627a4508b5
Explicitly close the socket in some tests for speed ups
The socket staying open meant that the graceful shut down
of the Cowboy listeners were waiting for the connections
to be closed gracefully (or a timeout). Closing explicitly
where it makes sense ensures we don't unnecessarily wait.

This commit removes a full minute in the run time of all
Cowboy test suites (minus examples).
2023-12-18 18:17:09 +01:00
..
handlers Increase loop_handler_timeout timeouts 2023-12-15 16:22:06 +01:00
static_handler_SUITE_data cowboy_static: Add support for files in EZ archives 2017-01-24 11:36:58 +01:00
ws_autobahn_SUITE_data Don't run long test suites by default 2018-11-20 13:23:59 +01:00
ws_SUITE_data Document the commands based Websocket interface 2019-10-06 16:51:27 +02:00
compress_SUITE.erl Ignore malformed accept-encoding headers in cowboy_compress_h 2019-12-31 13:48:05 +01:00
cover.spec Use ct_run instead of rebar ct for running ct tests 2013-01-04 17:56:49 +01:00
cowboy_ct_hook.erl Welcome to 2017 2017-01-02 19:36:36 +01:00
cowboy_test.erl Fix shutdown for HTTP/1.1 pipeline 2023-12-18 15:39:39 +01:00
examples_SUITE.erl Add UTF-8 support to example file_server 2023-12-07 15:31:11 +01:00
h2spec_SUITE.erl Fix h2spec "invalid preface sequence" test 2020-04-01 18:02:59 +02:00
http2_SUITE.erl Explicitly close the socket in some tests for speed ups 2023-12-18 18:17:09 +01:00
http_SUITE.erl Explicitly close the socket in some tests for speed ups 2023-12-18 18:17:09 +01:00
loop_handler_SUITE.erl Increase loop_handler_timeout timeouts 2023-12-15 16:22:06 +01:00
metrics_SUITE.erl Fix OTP-26+ warnings in test suites 2023-03-30 10:35:08 +02:00
misc_SUITE.erl Silence the expected set_env_missing error 2018-11-20 16:24:56 +01:00
plain_handler_SUITE.erl Move a old HTTP test cases to new plain_handler test suite 2018-11-21 14:29:36 +01:00
proxy_header_SUITE.erl Fix TLS tests for OTP-26+ 2023-03-30 15:38:29 +02:00
req_SUITE.erl Reduce CT logs size in a couple test cases 2023-12-01 10:45:41 +01:00
rest_handler_SUITE.erl Fix typos in documentation 2023-12-06 18:46:56 +01:00
rfc6585_SUITE.erl Add a test suite for RFC6585 2018-11-03 20:57:51 +01:00
rfc7230_SUITE.erl Fix shutdown for HTTP/1.1 pipeline 2023-12-18 15:39:39 +01:00
rfc7231_SUITE.erl Explicitly close the socket in some tests for speed ups 2023-12-18 18:17:09 +01:00
rfc7538_SUITE.erl Add a test suite for RFC7538; update Cowlib to 2.2.0 2018-03-05 16:48:56 +01:00
rfc7540_SUITE.erl Explicitly close the socket in some tests for speed ups 2023-12-18 18:17:09 +01:00
rfc8297_SUITE.erl Add a test suite for RFC8297 2018-05-07 13:05:50 +02:00
rfc8441_SUITE.erl Fix and optimize sending of WINDOW_UPDATE frames 2019-09-05 14:07:38 +02:00
security_SUITE.erl Add 'max_cancel_stream_rate' config for the rapid reset attack 2023-12-06 12:41:58 +01:00
static_handler_SUITE.erl Fix static_handler suite code path 2023-12-15 10:35:37 +01:00
stream_handler_SUITE.erl Explicitly close the socket in some tests for speed ups 2023-12-18 18:17:09 +01:00
sys_SUITE.erl Add timeout to cowboy_loop 2023-12-15 15:37:34 +01:00
tracer_SUITE.erl Use init_per_suite instead of all/0 for init in tracer_SUITE 2023-12-01 15:46:23 +01:00
ws_autobahn_SUITE.erl Don't run long test suites by default 2018-11-20 13:23:59 +01:00
ws_handler_SUITE.erl Use gun:ws_send/3 in tests 2020-11-23 11:02:01 +01:00
ws_SUITE.erl Disable ws_SUITE:unlimited_connections on Windows 2020-04-02 17:36:03 +02:00