From b2fedf3075043f67bed6db893db903c527cb3401 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 6 Jan 2025 08:25:11 +0100 Subject: [PATCH] test_authentication: realistic timeouts --- src/tests/client_server/test_authentication.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests/client_server/test_authentication.c b/src/tests/client_server/test_authentication.c index b0e83228..f9a321b8 100644 --- a/src/tests/client_server/test_authentication.c +++ b/src/tests/client_server/test_authentication.c @@ -60,7 +60,7 @@ main (int argc, char *argv[]) .server_cb_cls = (void *) "username:password", .client_cb = &MHDT_client_send_basic_auth, .client_cb_cls = (void *) "username:password", - .timeout_ms = 200, + .timeout_ms = 2500, }, { .label = "failing basic authentication", @@ -68,7 +68,7 @@ main (int argc, char *argv[]) .server_cb_cls = (void *) "username:password", .client_cb = &MHDT_client_fail_basic_auth, .client_cb_cls = (void *) "username:word", /* incorrect on purpose */ - .timeout_ms = 200, + .timeout_ms = 2500, }, #endif { @@ -77,7 +77,7 @@ main (int argc, char *argv[]) .server_cb_cls = (void *) "username:password", .client_cb = &MHDT_client_send_digest_auth, .client_cb_cls = (void *) "username:password", - .timeout_ms = 200, + .timeout_ms = 2500, }, { .label = "failing digest authentication", @@ -85,7 +85,7 @@ main (int argc, char *argv[]) .server_cb_cls = (void *) "username:password", .client_cb = &MHDT_client_fail_digest_auth, .client_cb_cls = (void *) "username:word", /* incorrect on purpose */ - .timeout_ms = 200, + .timeout_ms = 2500, }, { .label = NULL,