Skip to content

Commit 8699dcc

Browse files
committed
UPD | tests
1 parent 1560763 commit 8699dcc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_http_and_fetch_keep_alive.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
UTEST (http_and_fetch, keep_alive_1) {
1616
using http = manapi::net::http::server;
1717

18-
auto ctx = init_ctx(utest_result, 20000);
18+
auto ctx = init_ctx(utest_result, 120000);
1919
auto router = init_router({
2020
{"http1", true},
2121
{"http1_cnf", {

tests/tools.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ int main(int argc, const char *const argv[]) { \
2323
return utest_main(argc, argv); \
2424
}
2525

26-
inline manapi::async::shared_ctx init_ctx (int *utest_result, std::size_t timout_in_ms = 10000) {
26+
inline manapi::async::shared_ctx init_ctx (int *utest_result, std::size_t timout_in_ms = 60000) {
2727
auto ctx = manapi::async::context::create(0).unwrap();
2828
/* task killer */
2929
ctx->timerpool()->append_interval_sync(timout_in_ms, manapi::TIMER_DEFAULT,[utest_result, timout_in_ms, flg = bool(false)] (manapi::timer t) mutable -> void {

0 commit comments

Comments
 (0)