diff --git a/test/beast/websocket/read1.cpp b/test/beast/websocket/read1.cpp index 20048dd8..a46e6d65 100644 --- a/test/beast/websocket/read1.cpp +++ b/test/beast/websocket/read1.cpp @@ -73,7 +73,7 @@ public: flat_buffer b; ws1.set_option(stream_base::timeout{ stream_base::none(), - std::chrono::milliseconds(50), + std::chrono::milliseconds(200), false}); ws1.async_read(b, test::success_handler()); ws2.async_write(net::const_buffer("Hello, world!", 13), @@ -92,7 +92,7 @@ public: flat_buffer b; ws1.set_option(stream_base::timeout{ stream_base::none(), - std::chrono::milliseconds(50), + std::chrono::milliseconds(200), false}); ws1.async_read(b, test::success_handler()); ws2.async_write(net::const_buffer("Hello, world!", 13), @@ -150,7 +150,7 @@ public: auto b = asio::dynamic_buffer(res); ws1.set_option(stream_base::timeout{ stream_base::none(), - std::chrono::milliseconds(50), + std::chrono::milliseconds(200), false}); ws1.async_read(b, test::success_handler()); ws2.async_write(net::const_buffer("Hello, world!", 13), diff --git a/test/beast/websocket/timer.cpp b/test/beast/websocket/timer.cpp index 2d7b3142..7ad3a59f 100644 --- a/test/beast/websocket/timer.cpp +++ b/test/beast/websocket/timer.cpp @@ -42,7 +42,7 @@ struct timer_test : unit_test::suite ws2.set_option(stream_base::timeout{ stream_base::none(), - std::chrono::milliseconds(100), + std::chrono::milliseconds(200), true}); flat_buffer b1; flat_buffer b2;