Skip to content

Commit 9ec546e

Browse files
committed
FIX | tests
1 parent 424b8db commit 9ec546e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

tests/test_http_and_fetch_keep_alive.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ UTEST (http_and_fetch, keep_alive_1) {
6262
UTEST (http_and_fetch, tls_keep_alive_1) {
6363
using http = manapi::net::http::server;
6464

65-
auto ctx = init_ctx(utest_result, 20000);
65+
auto ctx = init_ctx(utest_result, 60000);
6666
auto router = init_router({
6767
{"http1", true},
6868
{"http1_cnf", {
69-
{"keep_alive", 5},
69+
{"keep_alive", 1},
7070
{"speed_check_delay", 1},
7171
{"speed_check_bytes", 100000000},
7272
{"transport", "tls"},
@@ -109,12 +109,14 @@ UTEST (http_and_fetch, tls_keep_alive_1) {
109109
UTEST (http_and_fetch, tls_http2_1) {
110110
using http = manapi::net::http::server;
111111

112-
auto ctx = init_ctx(utest_result, 20000);
112+
auto ctx = init_ctx(utest_result, 60000);
113113
auto router = init_router({
114114
{"http2", true},
115115
{"http2_cnf", {
116-
{"keep_alive", 5},
116+
{"keep_alive", 1},
117117
{"speed_check_delay", 1},
118+
{"speed_stream_check_delay", 1},
119+
{"speed_stream_check_bytes", 100000000},
118120
{"speed_check_bytes", 100000000},
119121
{"transport", "tls"},
120122
{"implementation", "openssl"}

0 commit comments

Comments
 (0)