mirror of
https://github.com/boostorg/beast.git
synced 2025-08-01 05:44:38 +02:00
websocket tests have larger timeouts.
The tests fail on freebsd.
This commit is contained in:
committed by
Klemens Morgenstern
parent
027c544a3a
commit
f7079044a7
@@ -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),
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user