test/regress_http: disable max_connections/data_length_constraints under windows

CI: https://github.com/libevent/libevent/runs/3643554394
This commit is contained in:
Azat Khuzhin 2021-09-19 10:54:27 +03:00
parent a35d2d01ff
commit 95eadf0426

View File

@ -68,6 +68,12 @@
#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
#if EV_WINDOWS
#define SKIP_UNDER_WINDOWS TT_SKIP
#else
#define SKIP_UNDER_WINDOWS 0
#endif
/* set if a test needs to call loopexit on a base */
static struct event_base *exit_base;
@ -5696,6 +5702,7 @@ end:
#define HTTP_N(title, name, test_opts, arg) \
{ #title, http_##name##_test, TT_ISOLATED|test_opts, &basic_setup, HTTP_CAST_ARG(arg) }
#define HTTP(name) HTTP_N(name, name, 0, NULL)
#define HTTP_OPT(name, opt) HTTP_N(name, name, opt, NULL)
#define HTTPS(name) \
{ "https_openssl_" #name, https_##name##_test, TT_ISOLATED, &basic_setup, NULL }
#define HTTPS_MBEDTLS(name) \
@ -5843,7 +5850,7 @@ struct testcase_t http_testcases[] = {
{ "connection_retry_conn_address", http_connection_retry_conn_address_test,
TT_ISOLATED|TT_OFF_BY_DEFAULT, &basic_setup, NULL },
HTTP(data_length_constraints),
HTTP_OPT(data_length_constraints, SKIP_UNDER_WINDOWS),
HTTP(read_on_write_error),
HTTP(non_lingering_close),
HTTP(lingering_close),
@ -5862,7 +5869,7 @@ struct testcase_t http_testcases[] = {
HTTP(request_extra_body),
HTTP(newreqcb),
HTTP(max_connections),
HTTP_OPT(max_connections, SKIP_UNDER_WINDOWS),
HTTP(timeout_read_client),
HTTP(timeout_read_server),