websocket tests have larger timeouts.

The tests fail on freebsd.
This commit is contained in:
Klemens authored and Klemens Morgenstern committed 2022-12-20 18:01:12 +08:00
1 parent 027c544a3a
commit f7079044a7
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -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),